1restic backup(1) restic backup(1)
2
3
4
6 restic-mount - Mount the repository
7
8
9
11 restic mount [flags] mountpoint
12
13
14
16 The "mount" command mounts the repository via fuse to a directory. This
17 is a read-only mount.
18
19
20
22 If you need a different template for all directories that contain
23 snapshots, you can pass a template via --snapshot-template. Example
24 without colons:
25
26
27 --snapshot-template "2006-01-02_15-04-05"
28
29
30
31 You need to specify a sample format for exactly the following
32 timestamp:
33
34
35 Mon Jan 2 15:04:05 -0700 MST 2006
36
37
38
39 For details please see the documentation for time.Format() at:
40
41 ⟨https://godoc.org/time#Time.Format⟩
42
43
44
46 --allow-other[=false]
47 allow other users to access the data in the mounted directory
48
49
50 --allow-root[=false]
51 allow root user to access the data in the mounted directory
52
53
54 -h, --help[=false]
55 help for mount
56
57
58 -H, --host=""
59 only consider snapshots for this host
60
61
62 --no-default-permissions[=false]
63 for 'allow-other', ignore Unix permissions and allow users to read
64 all snapshot files
65
66
67 --owner-root[=false]
68 use 'root' as the owner of files and dirs
69
70
71 --path=[]
72 only consider snapshots which include this (absolute) path
73
74
75 --snapshot-template="2006-01-02T15:04:05Z07:00"
76 set template to use for snapshot dirs
77
78
79 --tag=[]
80 only consider snapshots which include this taglist
81
82
83
85 --cacert=[]
86 file to load root certificates from (default: use system
87 certificates)
88
89
90 --cache-dir=""
91 set the cache directory. (default: use system default cache
92 directory)
93
94
95 --cleanup-cache[=false]
96 auto remove old cache directories
97
98
99 --json[=false]
100 set output mode to JSON for commands that support it
101
102
103 --key-hint=""
104 key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
105
106
107 --limit-download=0
108 limits downloads to a maximum rate in KiB/s. (default: unlimited)
109
110
111 --limit-upload=0
112 limits uploads to a maximum rate in KiB/s. (default: unlimited)
113
114
115 --no-cache[=false]
116 do not use a local cache
117
118
119 --no-lock[=false]
120 do not lock the repo, this allows some operations on read-only
121 repos
122
123
124 -o, --option=[]
125 set extended option (key=value, can be specified multiple times)
126
127
128 --password-command=""
129 specify a shell command to obtain a password (default:
130 $RESTIC_PASSWORD_COMMAND)
131
132
133 -p, --password-file=""
134 read the repository password from a file (default:
135 $RESTIC_PASSWORD_FILE)
136
137
138 -q, --quiet[=false]
139 do not output comprehensive progress report
140
141
142 -r, --repo=""
143 repository to backup to or restore from (default:
144 $RESTIC_REPOSITORY)
145
146
147 --tls-client-cert=""
148 path to a file containing PEM encoded TLS client certificate and
149 private key
150
151
152 -v, --verbose[=0]
153 be verbose (specify --verbose multiple times or level n)
154
155
156
158 restic(1)
159
160
161
162generated by `restic generate` Jan 2017 restic backup(1)