Skip to content

Commit

Permalink
Merge pull request borgbackup#3291 from borgbackup/rel112
Browse files Browse the repository at this point in the history
release 1.1.2
  • Loading branch information
ThomasWaldmann authored Nov 6, 2017
2 parents 701a7a5 + ce7936b commit 49c9304
Show file tree
Hide file tree
Showing 40 changed files with 143 additions and 126 deletions.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def packages_debianoid(user)
# this way it works on older dists (like ubuntu 12.04) also:
# for python 3.2 on ubuntu 12.04 we need pip<8 and virtualenv<14 as
# newer versions are not compatible with py 3.2 any more.
easy_install3 'pip<8.0'
easy_install3 -i https://pypi.python.org/simple/ 'pip<8.0'
pip3 install 'virtualenv<14.0'
EOF
end
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-benchmark-crud.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-BENCHMARK-CRUD 1 "2017-10-22" "" "borg backup tool"
.TH BORG-BENCHMARK-CRUD 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-benchmark-crud \- Benchmark Create, Read, Update, Delete for archives.
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-benchmark.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-BENCHMARK 1 "2017-10-22" "" "borg backup tool"
.TH BORG-BENCHMARK 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-benchmark \- benchmark command
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-break-lock.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-BREAK-LOCK 1 "2017-10-22" "" "borg backup tool"
.TH BORG-BREAK-LOCK 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-break-lock \- Break the repository lock (e.g. in case it was left by a dead borg.
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-change-passphrase.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-CHANGE-PASSPHRASE 1 "2017-10-22" "" "borg backup tool"
.TH BORG-CHANGE-PASSPHRASE 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-change-passphrase \- Change repository key file passphrase
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-check.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-CHECK 1 "2017-10-22" "" "borg backup tool"
.TH BORG-CHECK 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-check \- Check repository consistency
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-common.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-COMMON 1 "2017-10-22" "" "borg backup tool"
.TH BORG-COMMON 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-common \- Common options of Borg commands
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-compression.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-COMPRESSION 1 "2017-10-22" "" "borg backup tool"
.TH BORG-COMPRESSION 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-compression \- Details regarding compression
.
Expand Down
10 changes: 6 additions & 4 deletions docs/man/borg-create.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-CREATE 1 "2017-10-22" "" "borg backup tool"
.TH BORG-CREATE 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-create \- Create new archive
.
Expand Down Expand Up @@ -108,6 +108,11 @@ The \fB\-\-progress\fP option shows (from left to right) Original, Compressed an
(O, C and D, respectively), then the Number of files (N) processed so far, followed by
the currently processed path.
.sp
When using \fB\-\-stats\fP, you will get some statistics about how much data was
added \- the "This Archive" deduplicated size there is most interesting as that is
how much your repository will grow.
Please note that the "All archives" stats refer to the state after creation.
.sp
See the output of the "borg help patterns" command for more help on exclude patterns.
See the output of the "borg help placeholders" command for more help on placeholders.
.SH OPTIONS
Expand Down Expand Up @@ -306,9 +311,6 @@ all of its contents will be omitted from the backup. If, however, you wish to
only include the objects specified by \fB\-\-exclude\-if\-present\fP in your backup,
and not include any other contents of the containing folder, this can be enabled
through using the \fB\-\-keep\-exclude\-tags\fP option.
.sp
Borg respects the nodump flag. Files flagged nodump will be marked as excluded (x)
in \fB\-\-list\fP output.
.SS Item flags
.sp
\fB\-\-list\fP outputs a list of all files, directories and other
Expand Down
7 changes: 6 additions & 1 deletion docs/man/borg-delete.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-DELETE 1 "2017-10-22" "" "borg backup tool"
.TH BORG-DELETE 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-delete \- Delete an existing repository or archives
.
Expand Down Expand Up @@ -38,6 +38,11 @@ borg [common options] delete [options] [TARGET] [ARCHIVE...]
This command deletes an archive from the repository or the complete repository.
Disk space is reclaimed accordingly. If you delete the complete repository, the
local cache for it (if any) is also deleted.
.sp
When using \fB\-\-stats\fP, you will get some statistics about how much data was
deleted \- the "Deleted data" deduplicated size there is most interesting as
that is how much your repository will shrink.
Please note that the "All archives" stats refer to the state after deletion.
.SH OPTIONS
.sp
See \fIborg\-common(1)\fP for common options of Borg commands.
Expand Down
11 changes: 1 addition & 10 deletions docs/man/borg-diff.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-DIFF 1 "2017-10-22" "" "borg backup tool"
.TH BORG-DIFF 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-diff \- Diff contents of two archives
.
Expand Down Expand Up @@ -92,15 +92,6 @@ experimental: include/exclude paths matching PATTERN
.TP
.BI \-\-patterns\-from \ PATTERNFILE
experimental: read include/exclude patterns from PATTERNFILE, one per line
.TP
.B \-\-exclude\-caches
exclude directories that contain a CACHEDIR.TAG file (\fI\%http://www.brynosaurus.com/cachedir/spec.html\fP)
.TP
.BI \-\-exclude\-if\-present \ NAME
exclude directories that are tagged by containing a filesystem object with the given NAME
.TP
.B \-\-keep\-exclude\-tags\fP,\fB \-\-keep\-tag\-files
if tag objects are specified with \fB\-\-exclude\-if\-present\fP, don\(aqt omit the tag objects themselves from the backup archive
.UNINDENT
.SH EXAMPLES
.INDENT 0.0
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-export-tar.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-EXPORT-TAR 1 "2017-10-22" "" "borg backup tool"
.TH BORG-EXPORT-TAR 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-export-tar \- Export archive contents as a tarball
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-extract.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-EXTRACT 1 "2017-10-22" "" "borg backup tool"
.TH BORG-EXTRACT 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-extract \- Extract archive contents
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-info.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-INFO 1 "2017-10-22" "" "borg backup tool"
.TH BORG-INFO 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-info \- Show archive details such as disk space used
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-init.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-INIT 1 "2017-10-22" "" "borg backup tool"
.TH BORG-INIT 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-init \- Initialize an empty repository
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-key-change-passphrase.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-KEY-CHANGE-PASSPHRASE 1 "2017-10-22" "" "borg backup tool"
.TH BORG-KEY-CHANGE-PASSPHRASE 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-key-change-passphrase \- Change repository key file passphrase
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-key-export.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-KEY-EXPORT 1 "2017-10-22" "" "borg backup tool"
.TH BORG-KEY-EXPORT 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-key-export \- Export the repository key for backup
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-key-import.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-KEY-IMPORT 1 "2017-10-22" "" "borg backup tool"
.TH BORG-KEY-IMPORT 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-key-import \- Import the repository key from backup
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-key-migrate-to-repokey.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-KEY-MIGRATE-TO-REPOKEY 1 "2017-10-22" "" "borg backup tool"
.TH BORG-KEY-MIGRATE-TO-REPOKEY 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-key-migrate-to-repokey \- Migrate passphrase -> repokey
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-key.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-KEY 1 "2017-10-22" "" "borg backup tool"
.TH BORG-KEY 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-key \- Manage a keyfile or repokey of a repository
.
Expand Down
11 changes: 1 addition & 10 deletions docs/man/borg-list.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-LIST 1 "2017-10-22" "" "borg backup tool"
.TH BORG-LIST 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-list \- List archive or repository contents
.
Expand Down Expand Up @@ -97,15 +97,6 @@ experimental: include/exclude paths matching PATTERN
.TP
.BI \-\-patterns\-from \ PATTERNFILE
experimental: read include/exclude patterns from PATTERNFILE, one per line
.TP
.B \-\-exclude\-caches
exclude directories that contain a CACHEDIR.TAG file (\fI\%http://www.brynosaurus.com/cachedir/spec.html\fP)
.TP
.BI \-\-exclude\-if\-present \ NAME
exclude directories that are tagged by containing a filesystem object with the given NAME
.TP
.B \-\-keep\-exclude\-tags\fP,\fB \-\-keep\-tag\-files
if tag objects are specified with \fB\-\-exclude\-if\-present\fP, don\(aqt omit the tag objects themselves from the backup archive
.UNINDENT
.SH EXAMPLES
.INDENT 0.0
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-mount.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-MOUNT 1 "2017-10-22" "" "borg backup tool"
.TH BORG-MOUNT 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-mount \- Mount archive or an entire repository as a FUSE filesystem
.
Expand Down
8 changes: 5 additions & 3 deletions docs/man/borg-patterns.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-PATTERNS 1 "2017-10-22" "" "borg backup tool"
.TH BORG-PATTERNS 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-patterns \- Details regarding patterns
.
Expand Down Expand Up @@ -160,10 +160,12 @@ with the experimental \fB\-\-pattern\fP and \fB\-\-patterns\-from\fP options. Us
may specify the backup roots (starting points) and patterns for inclusion/exclusion.
A root path starts with the prefix \fIR\fP, followed by a path (a plain path, not a
file pattern). An include rule starts with the prefix +, an exclude rule starts
with the prefix \-, both followed by a pattern.
with the prefix \-, an exclude\-norecurse rule starts with !, all followed by a pattern.
Inclusion patterns are useful to include paths that are contained in an excluded
path. The first matching pattern is used so if an include pattern matches before
an exclude pattern, the file is backed up.
an exclude pattern, the file is backed up. If an exclude\-norecurse pattern matches
a directory, it won\(aqt recurse into it and won\(aqt discover any potential matches for
include rules below that directory.
.sp
Note that the default pattern style for \fB\-\-pattern\fP and \fB\-\-patterns\-from\fP is
shell style (\fIsh:\fP), so those patterns behave similar to rsync include/exclude
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-placeholders.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-PLACEHOLDERS 1 "2017-10-22" "" "borg backup tool"
.TH BORG-PLACEHOLDERS 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-placeholders \- Details regarding placeholders
.
Expand Down
9 changes: 7 additions & 2 deletions docs/man/borg-prune.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-PRUNE 1 "2017-10-22" "" "borg backup tool"
.TH BORG-PRUNE 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-prune \- Prune repository archives according to specified rules
.
Expand Down Expand Up @@ -73,6 +73,11 @@ negative number of archives to keep means that there is no limit.
The \fB\-\-keep\-last N\fP option is doing the same as \fB\-\-keep\-secondly N\fP (and it will
keep the last N archives under the assumption that you do not create more than one
backup archive in the same second).
.sp
When using \fB\-\-stats\fP, you will get some statistics about how much data was
deleted \- the "Deleted data" deduplicated size there is most interesting as
that is how much your repository will shrink.
Please note that the "All archives" stats refer to the state after pruning.
.SH OPTIONS
.sp
See \fIborg\-common(1)\fP for common options of Borg commands.
Expand Down Expand Up @@ -171,7 +176,7 @@ $ borg prune \-v \-\-list \-\-keep\-within=10d \-\-keep\-weekly=4 \-\-keep\-mont
.UNINDENT
.sp
There is also a visualized prune example in \fBdocs/misc/prune\-example.txt\fP:
.IP "System Message: ERROR/3 (docs/virtmanpage.rst:, line 140)"
.IP "System Message: ERROR/3 (docs/virtmanpage.rst:, line 145)"
Unknown directive type "highlight".
.INDENT 0.0
.INDENT 3.5
Expand Down
13 changes: 12 additions & 1 deletion docs/man/borg-recreate.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-RECREATE 1 "2017-10-22" "" "borg backup tool"
.TH BORG-RECREATE 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-recreate \- Re-create archives
.
Expand Down Expand Up @@ -71,6 +71,17 @@ When rechunking space usage can be substantial, expect at least the entire
deduplicated size of the archives using the previous chunker params.
When recompressing expect approx. (throughput / checkpoint\-interval) in space usage,
assuming all chunks are recompressed.
.sp
If you recently ran borg check \-\-repair and it had to fix lost chunks with all\-zero
replacement chunks, please first run another backup for the same data and re\-run
borg check \-\-repair afterwards to heal any archives that had lost chunks which are
still generated from the input data.
.sp
Important: running borg recreate to re\-chunk will remove the chunks_healthy
metadata of all items with replacement chunks, so healing will not be possible
any more after re\-chunking (it is also unlikely it would ever work: due to the
change of chunking parameters, the missing chunk likely will never be seen again
even if you still have the data that produced it).
.SH OPTIONS
.sp
See \fIborg\-common(1)\fP for common options of Borg commands.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-rename.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-RENAME 1 "2017-10-22" "" "borg backup tool"
.TH BORG-RENAME 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-rename \- Rename an existing archive
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-serve.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-SERVE 1 "2017-10-22" "" "borg backup tool"
.TH BORG-SERVE 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-serve \- Start in server mode. This command is usually not used manually.
.
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-umount.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-UMOUNT 1 "2017-10-22" "" "borg backup tool"
.TH BORG-UMOUNT 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-umount \- un-mount the FUSE filesystem
.
Expand Down
16 changes: 8 additions & 8 deletions docs/man/borg-upgrade.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-UPGRADE 1 "2017-10-22" "" "borg backup tool"
.TH BORG-UPGRADE 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-upgrade \- upgrade a repository from a previous version
.
Expand Down Expand Up @@ -104,13 +104,13 @@ borg delete borg
.UNINDENT
.UNINDENT
.sp
Unless \fB\-\-inplace\fP is specified, the upgrade process first
creates a backup copy of the repository, in
REPOSITORY.before\-upgrade\-DATETIME, using hardlinks. This takes
longer than in place upgrades, but is much safer and gives
progress information (as opposed to \fBcp \-al\fP). Once you are
satisfied with the conversion, you can safely destroy the
backup copy.
Unless \fB\-\-inplace\fP is specified, the upgrade process first creates a backup
copy of the repository, in REPOSITORY.before\-upgrade\-DATETIME, using hardlinks.
This requires that the repository and its parent directory reside on same
filesystem so the hardlink copy can work.
This takes longer than in place upgrades, but is much safer and gives
progress information (as opposed to \fBcp \-al\fP). Once you are satisfied
with the conversion, you can safely destroy the backup copy.
.sp
WARNING: Running the upgrade in place will make the current
copy unusable with older version, with no way of going back
Expand Down
2 changes: 1 addition & 1 deletion docs/man/borg-with-lock.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.\" Man page generated from reStructuredText.
.
.TH BORG-WITH-LOCK 1 "2017-10-22" "" "borg backup tool"
.TH BORG-WITH-LOCK 1 "2017-11-05" "" "borg backup tool"
.SH NAME
borg-with-lock \- run a user specified command with the repository lock held
.
Expand Down
3 changes: 3 additions & 0 deletions docs/man/borg.1
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,9 @@ security relevant data.
.B BORG_CACHE_DIR
Default to \(aq~/.cache/borg\(aq. This directory contains the local cache and might need a lot
of space for dealing with big repositories).
.TP
.B BORG_CONFIG_DIR
Default to \(aq~/.config/borg\(aq. This directory contains the whole config directories.
.UNINDENT
.TP
.B Building:
Expand Down
Loading

0 comments on commit 49c9304

Please sign in to comment.