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 mi‐
17 gration name is explicitly given, a list of migrations that can be ap‐
18 plied 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] apply a migration a second time
30
31
32 -h, --help[=false] help for migrate
33
34
35
37 --cacert=[] file to load root certificates from (default: use sys‐
38 tem certificates)
39
40
41 --cache-dir="" set the cache directory. (default: use system de‐
42 fault cache directory)
43
44
45 --cleanup-cache[=false] auto remove old cache directories
46
47
48 --json[=false] set output mode to JSON for commands that support
49 it
50
51
52 --key-hint="" key ID of key to try decrypting first (default:
53 $RESTIC_KEY_HINT)
54
55
56 --limit-download=0 limits downloads to a maximum rate in KiB/s.
57 (default: unlimited)
58
59
60 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
61 fault: unlimited)
62
63
64 --no-cache[=false] do not use a local cache
65
66
67 --no-lock[=false] do not lock the repository, this allows some op‐
68 erations on read-only repositories
69
70
71 -o, --option=[] set extended option (key=value, can be specified
72 multiple times)
73
74
75 --password-command="" shell command to obtain the repository pass‐
76 word from (default: $RESTIC_PASSWORD_COMMAND)
77
78
79 -p, --password-file="" file to read the repository password from
80 (default: $RESTIC_PASSWORD_FILE)
81
82
83 -q, --quiet[=false] do not output comprehensive progress report
84
85
86 -r, --repo="" repository to backup to or restore from (default:
87 $RESTIC_REPOSITORY)
88
89
90 --repository-file="" file to read the repository location from
91 (default: $RESTIC_REPOSITORY_FILE)
92
93
94 --tls-client-cert="" path to a file containing PEM encoded TLS
95 client certificate and private key
96
97
98 -v, --verbose[=0] be verbose (specify multiple times or a level
99 using --verbose=n, max level/times is 3)
100
101
102
104 restic(1)
105
106
107
108generated by restic generate Jan 2017 restic backup(1)