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