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 Exit status is 0 if the command was successful, and non-zero if there
47 was any error.
48
49
50
52 --allow-other[=false]
53 allow other users to access the data in the mounted directory
54
55
56 -h, --help[=false]
57 help for mount
58
59
60 -H, --host=[]
61 only consider snapshots for this host (can be specified multiple
62 times)
63
64
65 --no-default-permissions[=false]
66 for 'allow-other', ignore Unix permissions and allow users to read
67 all snapshot files
68
69
70 --owner-root[=false]
71 use 'root' as the owner of files and dirs
72
73
74 --path=[]
75 only consider snapshots which include this (absolute) path
76
77
78 --snapshot-template="2006-01-02T15:04:05Z07:00"
79 set template to use for snapshot dirs
80
81
82 --tag=[]
83 only consider snapshots which include this taglist
84
85
86
88 --cacert=[]
89 file to load root certificates from (default: use system
90 certificates)
91
92
93 --cache-dir=""
94 set the cache directory. (default: use system default cache
95 directory)
96
97
98 --cleanup-cache[=false]
99 auto remove old cache directories
100
101
102 --json[=false]
103 set output mode to JSON for commands that support it
104
105
106 --key-hint=""
107 key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
108
109
110 --limit-download=0
111 limits downloads to a maximum rate in KiB/s. (default: unlimited)
112
113
114 --limit-upload=0
115 limits uploads to a maximum rate in KiB/s. (default: unlimited)
116
117
118 --no-cache[=false]
119 do not use a local cache
120
121
122 --no-lock[=false]
123 do not lock the repository, this allows some operations on
124 read-only repositories
125
126
127 -o, --option=[]
128 set extended option (key=value, can be specified multiple times)
129
130
131 --password-command=""
132 shell command to obtain the repository password from (default:
133 $RESTIC_PASSWORD_COMMAND)
134
135
136 -p, --password-file=""
137 file to read the repository password from (default:
138 $RESTIC_PASSWORD_FILE)
139
140
141 -q, --quiet[=false]
142 do not output comprehensive progress report
143
144
145 -r, --repo=""
146 repository to backup to or restore from (default:
147 $RESTIC_REPOSITORY)
148
149
150 --repository-file=""
151 file to read the repository location from (default:
152 $RESTIC_REPOSITORY_FILE)
153
154
155 --tls-client-cert=""
156 path to a file containing PEM encoded TLS client certificate and
157 private key
158
159
160 -v, --verbose[=0]
161 be verbose (specify multiple times or a level using --verbose=n,
162 max level/times is 3)
163
164
165
167 restic(1)
168
169
170
171generated by `restic generate` Jan 2017 restic backup(1)