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