1restic backup(1) restic backup(1)
2
3
4
6 restic-migrate - Apply migrations
7
8
9
11 restic migrate [flags] [name]
12
13
14
16 The "migrate" command applies migrations to a repository. When no
17 migration name is explicitly given, a list of migrations that can be
18 applied is printed.
19
20
21
23 Exit status is 0 if the command was successful, and non-zero if there
24 was any error.
25
26
27
29 -f, --force[=false]
30 apply a migration a second time
31
32
33 -h, --help[=false]
34 help for migrate
35
36
37
39 --cacert=[]
40 file to load root certificates from (default: use system
41 certificates)
42
43
44 --cache-dir=""
45 set the cache directory. (default: use system default cache
46 directory)
47
48
49 --cleanup-cache[=false]
50 auto remove old cache directories
51
52
53 --json[=false]
54 set output mode to JSON for commands that support it
55
56
57 --key-hint=""
58 key ID of key to try decrypting first (default: $RESTIC_KEY_HINT)
59
60
61 --limit-download=0
62 limits downloads to a maximum rate in KiB/s. (default: unlimited)
63
64
65 --limit-upload=0
66 limits uploads to a maximum rate in KiB/s. (default: unlimited)
67
68
69 --no-cache[=false]
70 do not use a local cache
71
72
73 --no-lock[=false]
74 do not lock the repository, this allows some operations on
75 read-only repositories
76
77
78 -o, --option=[]
79 set extended option (key=value, can be specified multiple times)
80
81
82 --password-command=""
83 shell command to obtain the repository password from (default:
84 $RESTIC_PASSWORD_COMMAND)
85
86
87 -p, --password-file=""
88 file to read the repository password from (default:
89 $RESTIC_PASSWORD_FILE)
90
91
92 -q, --quiet[=false]
93 do not output comprehensive progress report
94
95
96 -r, --repo=""
97 repository to backup to or restore from (default:
98 $RESTIC_REPOSITORY)
99
100
101 --repository-file=""
102 file to read the repository location from (default:
103 $RESTIC_REPOSITORY_FILE)
104
105
106 --tls-client-cert=""
107 path to a file containing PEM encoded TLS client certificate and
108 private key
109
110
111 -v, --verbose[=0]
112 be verbose (specify multiple times or a level using --verbose=n,
113 max level/times is 3)
114
115
116
118 restic(1)
119
120
121
122generated by `restic generate` Jan 2017 restic backup(1)