mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 02:48:55 +00:00
backup: Improve wording for --one-file-system description
This commit is contained in:
parent
2a915069a8
commit
90d75651e6
@ -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.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.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.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.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.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)")
|
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
|
By specifying the option ``--one-file-system`` you can instruct restic
|
||||||
to only backup files from the file systems the initially specified files
|
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
|
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
|
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``
|
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 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
|
--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
|
--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)
|
--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 read backup from stdin
|
||||||
--stdin-filename filename filename to use when reading from stdin (default "stdin")
|
--stdin-filename filename filename to use when reading from stdin (default "stdin")
|
||||||
|
Loading…
Reference in New Issue
Block a user