1restic backup(1) restic backup(1)
2
3
4
6 restic-self-update - Update the restic binary
7
8
9
11 restic self-update [flags]
12
13
14
16 The command "self-update" downloads the latest stable release of restic
17 from GitHub and replaces the currently running binary. After download,
18 the authenticity of the binary is verified using the GPG signature on
19 the release files.
20
21
22
24 Exit status is 0 if the command was successful, and non-zero if there
25 was any error.
26
27
28
30 -h, --help[=false] help for self-update
31
32
33 --output="" Save the downloaded file as filename (default: running
34 binary itself)
35
36
37
39 --cacert=[] file to load root certificates from (default: use sys‐
40 tem certificates or $RESTIC_CACERT)
41
42
43 --cache-dir="" set the cache directory. (default: use system de‐
44 fault cache directory)
45
46
47 --cleanup-cache[=false] auto remove old cache directories
48
49
50 --compression=auto compression mode (only available for repository
51 format version 2), one of (auto|off|max) (default: $RESTIC_COMPRESSION)
52
53
54 --insecure-tls[=false] skip TLS certificate verification when con‐
55 necting to the repository (insecure)
56
57
58 --json[=false] set output mode to JSON for commands that support
59 it
60
61
62 --key-hint="" key ID of key to try decrypting first (default:
63 $RESTIC_KEY_HINT)
64
65
66 --limit-download=0 limits downloads to a maximum rate in KiB/s.
67 (default: unlimited)
68
69
70 --limit-upload=0 limits uploads to a maximum rate in KiB/s. (de‐
71 fault: unlimited)
72
73
74 --no-cache[=false] do not use a local cache
75
76
77 --no-lock[=false] do not lock the repository, this allows some op‐
78 erations on read-only repositories
79
80
81 -o, --option=[] set extended option (key=value, can be specified
82 multiple times)
83
84
85 --pack-size=0 set target pack size in MiB, created pack files may
86 be larger (default: $RESTIC_PACK_SIZE)
87
88
89 --password-command="" shell command to obtain the repository pass‐
90 word from (default: $RESTIC_PASSWORD_COMMAND)
91
92
93 -p, --password-file="" file to read the repository password from
94 (default: $RESTIC_PASSWORD_FILE)
95
96
97 -q, --quiet[=false] do not output comprehensive progress report
98
99
100 -r, --repo="" repository to backup to or restore from (default:
101 $RESTIC_REPOSITORY)
102
103
104 --repository-file="" file to read the repository location from
105 (default: $RESTIC_REPOSITORY_FILE)
106
107
108 --retry-lock=0s retry to lock the repository if it is already
109 locked, takes a value like 5m or 2h (default: no retries)
110
111
112 --tls-client-cert="" path to a file containing PEM encoded TLS
113 client certificate and private key (default: $RESTIC_TLS_CLIENT_CERT)
114
115
116 -v, --verbose[=0] be verbose (specify multiple times or a level
117 using --verbose=n``, max level/times is 2)
118
119
120
122 restic(1)
123
124
125
126generated by restic generate Jan 2017 restic backup(1)