github.com/advanderveer/restic@v0.8.1-0.20171209104529-42a8c19aaea6/doc/man/restic-prune.1 (about) 1 .TH "restic backup" "1" "Jan 2017" "generated by `restic generate`" "" 2 .nh 3 .ad l 4 5 6 .SH NAME 7 .PP 8 restic\-prune \- Remove unneeded data from the repository 9 10 11 .SH SYNOPSIS 12 .PP 13 \fBrestic prune [flags]\fP 14 15 16 .SH DESCRIPTION 17 .PP 18 The "prune" command checks the repository and removes data that is not 19 referenced and therefore not needed any more. 20 21 22 .SH OPTIONS 23 .PP 24 \fB\-h\fP, \fB\-\-help\fP[=false] 25 help for prune 26 27 28 .SH OPTIONS INHERITED FROM PARENT COMMANDS 29 .PP 30 \fB\-\-cacert\fP=[] 31 path to load root certificates from (default: use system certificates) 32 33 .PP 34 \fB\-\-cache\-dir\fP="" 35 set the cache directory 36 37 .PP 38 \fB\-\-json\fP[=false] 39 set output mode to JSON for commands that support it 40 41 .PP 42 \fB\-\-limit\-download\fP=0 43 limits downloads to a maximum rate in KiB/s. (default: unlimited) 44 45 .PP 46 \fB\-\-limit\-upload\fP=0 47 limits uploads to a maximum rate in KiB/s. (default: unlimited) 48 49 .PP 50 \fB\-\-no\-cache\fP[=false] 51 do not use a local cache 52 53 .PP 54 \fB\-\-no\-lock\fP[=false] 55 do not lock the repo, this allows some operations on read\-only repos 56 57 .PP 58 \fB\-o\fP, \fB\-\-option\fP=[] 59 set extended option (\fB\fCkey=value\fR, can be specified multiple times) 60 61 .PP 62 \fB\-p\fP, \fB\-\-password\-file\fP="" 63 read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) 64 65 .PP 66 \fB\-q\fP, \fB\-\-quiet\fP[=false] 67 do not output comprehensive progress report 68 69 .PP 70 \fB\-r\fP, \fB\-\-repo\fP="" 71 repository to backup to or restore from (default: $RESTIC\_REPOSITORY) 72 73 74 .SH SEE ALSO 75 .PP 76 \fBrestic(1)\fP