mirror of
https://github.com/restic/restic.git
synced 2024-12-30 19:57:19 +00:00
Merge pull request #2999 from restic/issue-2109
backup: Improve wording for --one-file-system description
This commit is contained in:
commit
27141ae87f
3 changed files with 3 additions and 3 deletions
|
@ -109,7 +109,7 @@ func init() {
|
|||
f.StringArrayVar(&backupOptions.InsensitiveExcludes, "iexclude", nil, "same as --exclude `pattern` but ignores the casing of filenames")
|
||||
f.StringArrayVar(&backupOptions.ExcludeFiles, "exclude-file", nil, "read exclude patterns from a `file` (can be specified multiple times)")
|
||||
f.StringArrayVar(&backupOptions.InsensitiveExcludeFiles, "iexclude-file", nil, "same as --exclude-file but ignores casing of `file`names in patterns")
|
||||
f.BoolVarP(&backupOptions.ExcludeOtherFS, "one-file-system", "x", false, "exclude other file systems")
|
||||
f.BoolVarP(&backupOptions.ExcludeOtherFS, "one-file-system", "x", false, "exclude other file systems, don't cross filesystem boundaries and subvolumes")
|
||||
f.StringArrayVar(&backupOptions.ExcludeIfPresent, "exclude-if-present", nil, "takes `filename[:header]`, exclude contents of directories containing filename (except filename itself) if header of that file is as provided (can be specified multiple times)")
|
||||
f.BoolVar(&backupOptions.ExcludeCaches, "exclude-caches", false, `excludes cache directories that are marked with a CACHEDIR.TAG file. See https://bford.info/cachedir/ for the Cache Directory Tagging Standard`)
|
||||
f.StringVar(&backupOptions.ExcludeLargerThan, "exclude-larger-than", "", "max `size` of the files to be backed up (allowed suffixes: k/K, m/M, g/G, t/T)")
|
||||
|
|
|
@ -275,7 +275,7 @@ On most Unixy shells, you can either quote or use backslashes. For example:
|
|||
By specifying the option ``--one-file-system`` you can instruct restic
|
||||
to only backup files from the file systems the initially specified files
|
||||
or directories reside on. In other words, it will prevent restic from crossing
|
||||
filesystem boundaries when performing a backup.
|
||||
filesystem boundaries and subvolumes when performing a backup.
|
||||
|
||||
For example, if you backup ``/`` with this option and you have external
|
||||
media mounted under ``/media/usb`` then restic will not back up ``/media/usb``
|
||||
|
|
|
@ -105,7 +105,7 @@ command:
|
|||
--iexclude pattern same as --exclude pattern but ignores the casing of filenames
|
||||
--iexclude-file file same as --exclude-file but ignores casing of filenames in patterns
|
||||
--ignore-inode ignore inode number changes when checking for modified files
|
||||
-x, --one-file-system exclude other file systems
|
||||
-x, --one-file-system exclude other file systems, don't cross filesystem boundaries and subvolumes
|
||||
--parent snapshot use this parent snapshot (default: last snapshot in the repo that has the same target files/directories)
|
||||
--stdin read backup from stdin
|
||||
--stdin-filename filename filename to use when reading from stdin (default "stdin")
|
||||
|
|
Loading…
Reference in a new issue