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 directo‐
17       ries.
18
19
20

EXIT STATUS

22       Exit status is 0 if the command was successful, and non-zero  if  there
23       was any error.
24
25
26

OPTIONS

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

OPTIONS INHERITED FROM PARENT COMMANDS

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       --compression=auto      compression mode (only available for repository
55       format version 2), one of (auto|off|max)
56
57
58       --insecure-tls[=false]      skip TLS certificate verification when con‐
59       necting to the repository (insecure)
60
61
62       --json[=false]      set output mode to JSON for commands  that  support
63       it
64
65
66       --key-hint=""       key  ID  of  key  to try decrypting first (default:
67       $RESTIC_KEY_HINT)
68
69
70       --limit-download=0      limits downloads to a maximum  rate  in  KiB/s.
71       (default: unlimited)
72
73
74       --limit-upload=0       limits  uploads to a maximum rate in KiB/s. (de‐
75       fault: unlimited)
76
77
78       --no-cache[=false]      do not use a local cache
79
80
81       --no-lock[=false]      do not lock the repository, this allows some op‐
82       erations on read-only repositories
83
84
85       -o,  --option=[]       set extended option (key=value, can be specified
86       multiple times)
87
88
89       --pack-size=0      set target pack size in MiB, created pack files  may
90       be larger (default: $RESTIC_PACK_SIZE)
91
92
93       --password-command=""      shell command to obtain the repository pass‐
94       word from (default: $RESTIC_PASSWORD_COMMAND)
95
96
97       -p, --password-file=""      file to read the repository  password  from
98       (default: $RESTIC_PASSWORD_FILE)
99
100
101       -q, --quiet[=false]      do not output comprehensive progress report
102
103
104       -r,  --repo=""       repository  to backup to or restore from (default:
105       $RESTIC_REPOSITORY)
106
107
108       --repository-file=""      file to read  the  repository  location  from
109       (default: $RESTIC_REPOSITORY_FILE)
110
111
112       --tls-client-cert=""       path  to  a  file containing PEM encoded TLS
113       client certificate and private key
114
115
116       -v, --verbose[=0]      be verbose (specify multiple times  or  a  level
117       using --verbose=n``, max level/times is 2)
118
119
120

SEE ALSO

122       restic(1)
123
124
125
126generated by restic generate       Jan 2017                   restic backup(1)
Impressum