Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
5fb01d82
Commit
5fb01d82
authored
17 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Update docs that GNU tar versions >=1.16 exit with 1 on files changed, 2
on other errors.
parent
2a275e6d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/backup.sgml
+6
-8
6 additions, 8 deletions
doc/src/sgml/backup.sgml
with
6 additions
and
8 deletions
doc/src/sgml/backup.sgml
+
6
−
8
View file @
5fb01d82
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.9
8
2007/0
6/29 15:46:21 tgl
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/backup.sgml,v 2.9
9
2007/0
7/16 22:20:51 momjian
Exp $ -->
<chapter id="backup">
<title>Backup and Restore</title>
...
...
@@ -734,13 +734,11 @@ SELECT pg_stop_backup();
complaints of this sort from real errors. For example, some versions
of <application>rsync</> return a separate exit code for <quote>vanished
source files</>, and you can write a driver script to accept this exit
code as a non-error case. Also,
some versions of GNU <application>tar</> consider it an error if a file
is changed while <application>tar</> is copying it. There does not seem
to be any very convenient way to distinguish this error from other types
of errors, other than manual inspection of <application>tar</>'s messages.
GNU <application>tar</> is therefore not the best tool for making base
backups.
code as a non-error case. Also, some versions of GNU
<application>tar</> consider it an error if a file is changed while
<application>tar</> is copying it. Fortunately, GNU
<application>tar</> versions 1.16 and later exit with <literal>1</>
if files changed during the backup, and <literal>2</> for other errors.
</para>
<para>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment