1restic backup(1)                                              restic backup(1)
2
3
4

NAME

6       restic-cache - Operate on local cache directories
7
8
9

SYNOPSIS

11       restic cache [flags]
12
13
14

DESCRIPTION

16       The "cache" command allows listing and cleaning local cache
17       directories.
18
19
20

OPTIONS

22       --cleanup[=false]
23           remove old cache directories
24
25
26       -h, --help[=false]
27           help for cache
28
29
30       --max-age=30
31           max age in days for cache directories to be considered old
32
33
34       --no-size[=false]
35           do not output the size of the cache directories
36
37
38

OPTIONS INHERITED FROM PARENT COMMANDS

40       --cacert=[]
41           file to load root certificates from (default: use system
42       certificates)
43
44
45       --cache-dir=""
46           set the cache directory. (default: use system default cache
47       directory)
48
49
50       --cleanup-cache[=false]
51           auto remove old cache directories
52
53
54       --json[=false]
55           set output mode to JSON for commands that support it
56
57
58       --key-hint=""
59           key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
60
61
62       --limit-download=0
63           limits downloads to a maximum rate in KiB/s. (default: unlimited)
64
65
66       --limit-upload=0
67           limits uploads to a maximum rate in KiB/s. (default: unlimited)
68
69
70       --no-cache[=false]
71           do not use a local cache
72
73
74       --no-lock[=false]
75           do not lock the repo, this allows some operations on read-only
76       repos
77
78
79       -o, --option=[]
80           set extended option (key=value, can be specified multiple times)
81
82
83       --password-command=""
84           specify a shell command to obtain a password (default:
85       $RESTIC_PASSWORD_COMMAND)
86
87
88       -p, --password-file=""
89           read the repository password from a file (default:
90       $RESTIC_PASSWORD_FILE)
91
92
93       -q, --quiet[=false]
94           do not output comprehensive progress report
95
96
97       -r, --repo=""
98           repository to backup to or restore from (default:
99       $RESTIC_REPOSITORY)
100
101
102       --tls-client-cert=""
103           path to a file containing PEM encoded TLS client certificate and
104       private key
105
106
107       -v, --verbose[=0]
108           be verbose (specify --verbose multiple times or level n)
109
110
111

SEE ALSO

113       restic(1)
114
115
116
117generated by `restic generate`     Jan 2017                   restic backup(1)
Impressum