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
23 --cacert=[] file to load root certificates from (default: use sys‐
24 tem certificates)
25
26
27 --cache-dir="" set the cache directory. (default: use system de‐
28 fault cache directory)
29
30
31 --cleanup-cache[=false] auto remove old cache directories
32
33
34 --compression=auto compression mode (only available for repository
35 format version 2), one of (auto|off|max)
36
37
38 -h, --help[=false] help for restic
39
40
41 --insecure-tls[=false] skip TLS certificate verification when con‐
42 necting to the repository (insecure)
43
44
45 --json[=false] set output mode to JSON for commands that support
46 it
47
48
49 --key-hint="" key ID of key to try decrypting first (default:
50 $RESTIC_KEY_HINT)
51
52
53 --limit-download=0 limits downloads to a maximum rate in KiB/s.
54 (default: unlimited)
55
56
57 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
58 fault: unlimited)
59
60
61 --no-cache[=false] do not use a local cache
62
63
64 --no-lock[=false] do not lock the repository, this allows some op‐
65 erations on read-only repositories
66
67
68 -o, --option=[] set extended option (key=value, can be specified
69 multiple times)
70
71
72 --pack-size=0 set target pack size in MiB, created pack files may
73 be larger (default: $RESTIC_PACK_SIZE)
74
75
76 --password-command="" shell command to obtain the repository pass‐
77 word from (default: $RESTIC_PASSWORD_COMMAND)
78
79
80 -p, --password-file="" file to read the repository password from
81 (default: $RESTIC_PASSWORD_FILE)
82
83
84 -q, --quiet[=false] do not output comprehensive progress report
85
86
87 -r, --repo="" repository to backup to or restore from (default:
88 $RESTIC_REPOSITORY)
89
90
91 --repository-file="" file to read the repository location from
92 (default: $RESTIC_REPOSITORY_FILE)
93
94
95 --tls-client-cert="" path to a file containing PEM encoded TLS
96 client certificate and private key
97
98
99 -v, --verbose[=0] be verbose (specify multiple times or a level
100 using --verbose=n``, max level/times is 2)
101
102
103
105 restic-backup(1), restic-cache(1), restic-cat(1), restic-check(1),
106 restic-copy(1), restic-diff(1), restic-dump(1), restic-find(1), restic-
107 forget(1), restic-generate(1), restic-init(1), restic-key(1), restic-
108 list(1), restic-ls(1), restic-migrate(1), restic-mount(1), restic-
109 prune(1), restic-rebuild-index(1), restic-recover(1), restic-re‐
110 store(1), restic-rewrite(1), restic-self-update(1), restic-snap‐
111 shots(1), restic-stats(1), restic-tag(1), restic-unlock(1), restic-ver‐
112 sion(1)
113
114
115
116generated by restic generate Jan 2017 restic backup(1)