diff --git a/doc/man/restic-backup.1 b/doc/man/restic-backup.1 index 2598678d0..80b1bea59 100644 --- a/doc/man/restic-backup.1 +++ b/doc/man/restic-backup.1 @@ -49,6 +49,10 @@ Exit status is 3 if some source data could not be read (incomplete snapshot crea \fB--exclude-larger-than\fP="" max \fB\fCsize\fR of the files to be backed up (allowed suffixes: k/K, m/M, g/G, t/T) +.PP +\fB-n\fP, \fB--exclude-gitignored\fP[=false] + excludes anything (file, directory, symlink) that would be ignored by git + .PP \fB--files-from\fP=[] read the files to backup from \fB\fCfile\fR (can be combined with file args; can be specified multiple times) diff --git a/doc/manual_rest.rst b/doc/manual_rest.rst index 97480db80..7494270fa 100644 --- a/doc/manual_rest.rst +++ b/doc/manual_rest.rst @@ -101,6 +101,7 @@ command: --exclude-file file read exclude patterns from a file (can be specified multiple times) --exclude-if-present filename[:header] 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) --exclude-larger-than size max size of the files to be backed up (allowed suffixes: k/K, m/M, g/G, t/T) + --exclude-gitignored exclude anything (file, directory, symlink) that would be ignored by git --files-from file read the files to backup from file (can be combined with file args; can be specified multiple times) --files-from-raw file read the files to backup from file (can be combined with file args; can be specified multiple times) --files-from-verbatim file read the files to backup from file (can be combined with file args; can be specified multiple times)