1restic backup(1) restic backup(1)
2
3
4
6 restic-cache - Operate on local cache directories
7
8
9
11 restic cache [flags]
12
13
14
16 The "cache" command allows listing and cleaning local cache directo‐
17 ries.
18
19
20
22 Exit status is 0 if the command was successful, and non-zero if there
23 was any error.
24
25
26
28 --cleanup[=false] remove old cache directories
29
30
31 -h, --help[=false] help for cache
32
33
34 --max-age=30 max age in days for cache directories to be consid‐
35 ered old
36
37
38 --no-size[=false] do not output the size of the cache directories
39
40
41
43 --cacert=[] file to load root certificates from (default: use sys‐
44 tem certificates)
45
46
47 --cache-dir="" set the cache directory. (default: use system de‐
48 fault cache directory)
49
50
51 --cleanup-cache[=false] auto remove old cache directories
52
53
54 --json[=false] set output mode to JSON for commands that support
55 it
56
57
58 --key-hint="" key ID of key to try decrypting first (default:
59 $RESTIC_KEY_HINT)
60
61
62 --limit-download=0 limits downloads to a maximum rate in KiB/s.
63 (default: unlimited)
64
65
66 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
67 fault: unlimited)
68
69
70 --no-cache[=false] do not use a local cache
71
72
73 --no-lock[=false] do not lock the repository, this allows some op‐
74 erations on read-only repositories
75
76
77 -o, --option=[] set extended option (key=value, can be specified
78 multiple times)
79
80
81 --password-command="" shell command to obtain the repository pass‐
82 word from (default: $RESTIC_PASSWORD_COMMAND)
83
84
85 -p, --password-file="" file to read the repository password from
86 (default: $RESTIC_PASSWORD_FILE)
87
88
89 -q, --quiet[=false] do not output comprehensive progress report
90
91
92 -r, --repo="" repository to backup to or restore from (default:
93 $RESTIC_REPOSITORY)
94
95
96 --repository-file="" file to read the repository location from
97 (default: $RESTIC_REPOSITORY_FILE)
98
99
100 --tls-client-cert="" path to a file containing PEM encoded TLS
101 client certificate and private key
102
103
104 -v, --verbose[=0] be verbose (specify multiple times or a level
105 using --verbose=n, max level/times is 3)
106
107
108
110 restic(1)
111
112
113
114generated by restic generate Jan 2017 restic backup(1)