1restic backup(1) restic backup(1)
2
3
4
6 restic - Backup and restore files
7
8
9
11 restic [flags]
12
13
14
16 restic is a backup program which allows saving multiple revisions of
17 files and directories in an encrypted repository stored on different
18 backends.
19
20
21 The full documentation can be found at https://restic.readthedocs.io/ .
22
23
24
26 --cacert=[] file to load root certificates from (default: use sys‐
27 tem certificates or $RESTIC_CACERT)
28
29
30 --cache-dir="" set the cache directory. (default: use system de‐
31 fault cache directory)
32
33
34 --cleanup-cache[=false] auto remove old cache directories
35
36
37 --compression=auto compression mode (only available for repository
38 format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION)
39
40
41 -h, --help[=false] help for restic
42
43
44 --insecure-tls[=false] skip TLS certificate verification when con‐
45 necting to the repository (insecure)
46
47
48 --json[=false] set output mode to JSON for commands that support
49 it
50
51
52 --key-hint="" key ID of key to try decrypting first (default:
53 $RESTIC_KEY_HINT)
54
55
56 --limit-download=0 limits downloads to a maximum rate in KiB/s.
57 (default: unlimited)
58
59
60 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
61 fault: unlimited)
62
63
64 --no-cache[=false] do not use a local cache
65
66
67 --no-lock[=false] do not lock the repository, this allows some op‐
68 erations on read-only repositories
69
70
71 -o, --option=[] set extended option (key=value, can be specified
72 multiple times)
73
74
75 --pack-size=0 set target pack size in MiB, created pack files may
76 be larger (default: $RESTIC_PACK_SIZE)
77
78
79 --password-command="" shell command to obtain the repository pass‐
80 word from (default: $RESTIC_PASSWORD_COMMAND)
81
82
83 -p, --password-file="" file to read the repository password from
84 (default: $RESTIC_PASSWORD_FILE)
85
86
87 -q, --quiet[=false] do not output comprehensive progress report
88
89
90 -r, --repo="" repository to backup to or restore from (default:
91 $RESTIC_REPOSITORY)
92
93
94 --repository-file="" file to read the repository location from
95 (default: $RESTIC_REPOSITORY_FILE)
96
97
98 --retry-lock=0s retry to lock the repository if it is already
99 locked, takes a value like 5m or 2h (default: no retries)
100
101
102 --tls-client-cert="" path to a file containing PEM encoded TLS
103 client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
104
105
106 -v, --verbose[=0] be verbose (specify multiple times or a level
107 using --verbose=n``, max level/times is 2)
108
109
110
112 restic-backup(1), restic-cache(1), restic-cat(1), restic-check(1),
113 restic-copy(1), restic-diff(1), restic-dump(1), restic-find(1), restic-
114 forget(1), restic-generate(1), restic-init(1), restic-key(1), restic-
115 list(1), restic-ls(1), restic-migrate(1), restic-mount(1), restic-
116 prune(1), restic-recover(1), restic-repair(1), restic-restore(1),
117 restic-rewrite(1), restic-self-update(1), restic-snapshots(1), restic-
118 stats(1), restic-tag(1), restic-unlock(1), restic-version(1)
119
120
121
122generated by restic generate Jan 2017 restic backup(1)