restic backup(1) restic backup(1) (NAME) restic-rewrite - (SYNOPSIS) restic rewrite [flags] [snapshotID ...] (DESCRIPTION) <> . include exclude . ( ) --new-host --new-time . --host --tag --path (snapshot ID) . . 'rewrite' --forget . --forget . --forget . <> . rewrite --snapshot-summary . : TotalFilesProcessed TotalBytesProcessed. rewrite --exclude --include TotalFilesProcessed TotalBytesProcessed . (EXIT STATUS) 0 . 1 . 10 . 11 . 12 . (OPTIONS) -n, --dry-run[=false] -e, --exclude=[] pattern ( ) --exclude-file=[] file ( ) --forget[=false] -h, --help[=false] rewrite -H, --host=[] host ( ) (: $RESTIC_HOST) --iexclude=[] --exclude pattern --iexclude-file=[] --exclude-file --iinclude=[] --include pattern --iinclude-file=[] --include-file -i, --include=[] pattern ( ) --include-file=[] file ( ) --new-host="" hostname --new-time="" --path=[] path () ( ) -s, --snapshot-summary[=false] --tag=[] tag[,tag,...] ( ) (OPTIONS INHERITED FROM PARENT COMMANDS) --cacert=[] (root certificates) (: $RESTIC_CACERT) --cache-dir="" (cache). (: ) --cleanup-cache[=false] --compression=auto ( 2 ) (auto|off|fastest|better|max) (: $RESTIC_COMPRESSION) --http-user-agent="" http user agent http --insecure-no-password[=false] restic () --insecure-tls[=false] TLS () --json[=false] JSON --key-hint="" (key) (: $RESTIC_KEY_HINT) --limit-download=0 rate KiB/s. (: ) --limit-upload=0 rate KiB/s. (: ) --no-cache[=false] --no-extra-verify[=false] ( ) --no-lock[=false] -o, --option=[] (key=value ) --pack-size=0 MiB (: $RESTIC_PACK_SIZE) --password-command="" (: $RESTIC_PASSWORD_COMMAND) -p, --password-file="" (: $RESTIC_PASSWORD_FILE) -q, --quiet[=false] -r, --repo="" (: $RESTIC_REPOSITORY) --repository-file="" (: $RESTIC_REPOSITORY_FILE) --retry-lock=0s 5m 2h (: ) --stuck-request-timeout=5m0s --tls-client-cert="" TLS PEM (: $RESTIC_TLS_CLIENT_CERT) -v, --verbose[=0] ( --verbose=n / 2 ) (SEE ALSO) restic(1) generated by restic generate Jan 2017 restic backup(1)