2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-30 23:50:48 +00:00

Add note about rescan to hostname flag (fixes #1221)

This commit is contained in:
Jan Bader 2017-09-22 14:29:04 +02:00
parent e091673f8f
commit 727fb6eabe
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ func init() {
f.BoolVar(&backupOptions.Stdin, "stdin", false, "read backup from stdin")
f.StringVar(&backupOptions.StdinFilename, "stdin-filename", "stdin", "file name to use when reading from stdin")
f.StringArrayVar(&backupOptions.Tags, "tag", nil, "add a `tag` for the new snapshot (can be specified multiple times)")
f.StringVar(&backupOptions.Hostname, "hostname", "", "set the `hostname` for the snapshot manually")
f.StringVar(&backupOptions.Hostname, "hostname", "", "set the `hostname` for the snapshot manually. To prevent an expensive rescan use the \"parent\" flag")
f.StringVar(&backupOptions.FilesFrom, "files-from", "", "read the files to backup from file (can be combined with file args)")
f.StringVar(&backupOptions.TimeStamp, "time", "", "time of the backup (ex. '2012-11-01 22:08:41') (default: now)")
}

View File

@ -50,7 +50,7 @@ given as the arguments.
.PP
\fB\-\-hostname\fP=""
set the \fB\fChostname\fR for the snapshot manually
set the \fB\fChostname\fR for the snapshot manually. To prevent an expensive rescan use the "parent" flag
.PP
\fB\-x\fP, \fB\-\-one\-file\-system\fP[=false]