1restic backup(1) restic backup(1)
2
3
4
6 restic-migrate - Apply migrations
7
8
9
11 restic migrate [flags] [migration name] [...]
12
13
14
16 The "migrate" command checks which migrations can be applied for a
17 repository and prints a list with available migration names. If one or
18 more migration names are specified, these migrations are applied.
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 or $RESTIC_CACERT)
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 --compression=auto compression mode (only available for repository
49 format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION)
50
51
52 --insecure-tls[=false] skip TLS certificate verification when con‐
53 necting to the repository (insecure)
54
55
56 --json[=false] set output mode to JSON for commands that support
57 it
58
59
60 --key-hint="" key ID of key to try decrypting first (default:
61 $RESTIC_KEY_HINT)
62
63
64 --limit-download=0 limits downloads to a maximum rate in KiB/s.
65 (default: unlimited)
66
67
68 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
69 fault: unlimited)
70
71
72 --no-cache[=false] do not use a local cache
73
74
75 --no-lock[=false] do not lock the repository, this allows some op‐
76 erations on read-only repositories
77
78
79 -o, --option=[] set extended option (key=value, can be specified
80 multiple times)
81
82
83 --pack-size=0 set target pack size in MiB, created pack files may
84 be larger (default: $RESTIC_PACK_SIZE)
85
86
87 --password-command="" shell command to obtain the repository pass‐
88 word from (default: $RESTIC_PASSWORD_COMMAND)
89
90
91 -p, --password-file="" file to read the repository password from
92 (default: $RESTIC_PASSWORD_FILE)
93
94
95 -q, --quiet[=false] do not output comprehensive progress report
96
97
98 -r, --repo="" repository to backup to or restore from (default:
99 $RESTIC_REPOSITORY)
100
101
102 --repository-file="" file to read the repository location from
103 (default: $RESTIC_REPOSITORY_FILE)
104
105
106 --retry-lock=0s retry to lock the repository if it is already
107 locked, takes a value like 5m or 2h (default: no retries)
108
109
110 --tls-client-cert="" path to a file containing PEM encoded TLS
111 client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
112
113
114 -v, --verbose[=0] be verbose (specify multiple times or a level
115 using --verbose=n``, max level/times is 2)
116
117
118
120 restic(1)
121
122
123
124generated by restic generate Jan 2017 restic backup(1)