github.com/advanderveer/restic@v0.8.1-0.20171209104529-42a8c19aaea6/doc/man/restic-dump.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\-dump \- Print a backed\-up file to stdout 9 10 11 .SH SYNOPSIS 12 .PP 13 \fBrestic dump [flags] snapshotID file\fP 14 15 16 .SH DESCRIPTION 17 .PP 18 The "dump" command extracts a single file from a snapshot from the repository and 19 prints its contents to stdout. 20 21 .PP 22 The special snapshot "latest" can be used to use the latest snapshot in the 23 repository. 24 25 26 .SH OPTIONS 27 .PP 28 \fB\-h\fP, \fB\-\-help\fP[=false] 29 help for dump 30 31 .PP 32 \fB\-H\fP, \fB\-\-host\fP="" 33 only consider snapshots for this host when the snapshot ID is "latest" 34 35 .PP 36 \fB\-\-path\fP=[] 37 only consider snapshots which include this (absolute) \fB\fCpath\fR for snapshot ID "latest" 38 39 .PP 40 \fB\-\-tag\fP=[] 41 only consider snapshots which include this \fB\fCtaglist\fR for snapshot ID "latest" 42 43 44 .SH OPTIONS INHERITED FROM PARENT COMMANDS 45 .PP 46 \fB\-\-cacert\fP=[] 47 path to load root certificates from (default: use system certificates) 48 49 .PP 50 \fB\-\-cache\-dir\fP="" 51 set the cache directory 52 53 .PP 54 \fB\-\-json\fP[=false] 55 set output mode to JSON for commands that support it 56 57 .PP 58 \fB\-\-limit\-download\fP=0 59 limits downloads to a maximum rate in KiB/s. (default: unlimited) 60 61 .PP 62 \fB\-\-limit\-upload\fP=0 63 limits uploads to a maximum rate in KiB/s. (default: unlimited) 64 65 .PP 66 \fB\-\-no\-cache\fP[=false] 67 do not use a local cache 68 69 .PP 70 \fB\-\-no\-lock\fP[=false] 71 do not lock the repo, this allows some operations on read\-only repos 72 73 .PP 74 \fB\-o\fP, \fB\-\-option\fP=[] 75 set extended option (\fB\fCkey=value\fR, can be specified multiple times) 76 77 .PP 78 \fB\-p\fP, \fB\-\-password\-file\fP="" 79 read the repository password from a file (default: $RESTIC\_PASSWORD\_FILE) 80 81 .PP 82 \fB\-q\fP, \fB\-\-quiet\fP[=false] 83 do not output comprehensive progress report 84 85 .PP 86 \fB\-r\fP, \fB\-\-repo\fP="" 87 repository to backup to or restore from (default: $RESTIC\_REPOSITORY) 88 89 90 .SH SEE ALSO 91 .PP 92 \fBrestic(1)\fP