]> git.proxmox.com Git - pmg-docs.git/blame - pmgbackup.1-synopsis.adoc
improve formatting overly short lines
[pmg-docs.git] / pmgbackup.1-synopsis.adoc
CommitLineData
274b47fc
DM
1*pmgbackup* `<COMMAND> [ARGS] [OPTIONS]`
2
3*pmgbackup backup* `[OPTIONS]`
4
5Backup the system configuration.
6
7`--statistic` `<boolean>` ('default =' `1`)::
8
9Backup statistic databases.
10
b81b1f95 11*pmgbackup help* `[OPTIONS]`
274b47fc
DM
12
13Get help about specified command.
14
b81b1f95 15`--extra-args` `<array>` ::
274b47fc 16
b81b1f95 17Shows help for a specific command
274b47fc
DM
18
19`--verbose` `<boolean>` ::
20
21Verbose output format.
22
274b47fc
DM
23*pmgbackup list*
24
25List all stored backups (files named proxmox-backup_{DATE}.tgz).
26
ab2b846b
TL
27*pmgbackup proxmox-backup backup* `<remote>`
28
29Create a new backup and prune the backup group afterwards, if configured.
30
31`<remote>`: `<string>` ::
32
33Proxmox Backup Server ID.
34
35*pmgbackup proxmox-backup forget* `<remote> <backup-id> <backup-time>`
36
37Forget a snapshot
38
39`<remote>`: `<string>` ::
40
41Proxmox Backup Server ID.
42
43`<backup-id>`: `<string>` ::
44
45ID (hostname) of backup snapshot
46
47`<backup-time>`: `<string>` ::
48
49Backup time in RFC 3339 format
50
51*pmgbackup proxmox-backup job create* `<remote>` `[OPTIONS]`
52
53Create backup schedule
54
55`<remote>`: `<string>` ::
56
57Proxmox Backup Server ID.
58
59`--delay` `[0-9a-zA-Z. ]+` ('default =' `5min`)::
60
61Randomized delay to add to the starttime (RandomizedDelaySec setting of the systemd.timer)
62
63`--schedule` `[0-9a-zA-Z*.:,\-/ ]+` ('default =' `daily`)::
64
65Schedule for the backup (OnCalendar setting of the systemd.timer)
66
67*pmgbackup proxmox-backup job delete* `<remote>`
68
69Delete backup schedule
70
71`<remote>`: `<string>` ::
72
73Proxmox Backup Server ID.
74
75*pmgbackup proxmox-backup job show* `<remote>` `[FORMAT_OPTIONS]`
76
77Get timer specification
78
79`<remote>`: `<string>` ::
80
81Proxmox Backup Server ID.
82
83*pmgbackup proxmox-backup list* `<remote>` `[FORMAT_OPTIONS]`
84
85Get snapshots stored on remote.
86
87`<remote>`: `<string>` ::
88
89Proxmox Backup Server ID.
90
91*pmgbackup proxmox-backup remote add* `<remote> --datastore <string> --server <string>` `[OPTIONS]`
92
93Add Proxmox Backup Server remote instance.
94
95`<remote>`: `<string>` ::
96
97Proxmox Backup Server ID.
98
99`--datastore` `<string>` ::
100
101Proxmox Backup Server datastore name.
102
103`--disable` `<boolean>` ::
104
105Flag to disable (deactivate) the entry.
106
107`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
108
109Certificate SHA 256 fingerprint.
110
111`--keep-daily` `<N>` ::
112
113Keep backups for the last <N> different days. If there is more than one backup for a single day, only the latest one is kept.
114
115`--keep-hourly` `<N>` ::
116
117Keep backups for the last <N> different hours. If there is more than one backup for a single hour, only the latest one is kept.
118
119`--keep-last` `<N>` ::
120
121Keep the last <N> backups.
122
123`--keep-monthly` `<N>` ::
124
125Keep backups for the last <N> different months. If there is more than one backup for a single month, only the latest one is kept.
126
127`--keep-weekly` `<N>` ::
128
129Keep backups for the last <N> different weeks. If there ismore than one backup for a single week, only the latest one is kept.
130
131`--keep-yearly` `<N>` ::
132
133Keep backups for the last <N> different years. If there is more than one backup for a single year, only the latest one is kept.
134
135`--password` `<password>` ::
136
137Password or API token secret for the user on the Proxmox Backup Server.
138
139`--server` `<string>` ::
140
141Proxmox Backup Server address.
142
143`--username` `(?:[^\s\/\\@]+\@[^\s\/\\@]+)` ::
144
145Username or API token ID on the Proxmox Backup Server
146
147*pmgbackup proxmox-backup remote list* `[FORMAT_OPTIONS]`
148
149List all configured Proxmox Backup Server instances.
150
151*pmgbackup proxmox-backup remote remove* `<remote>`
152
153Delete an PBS remote
154
155`<remote>`: `<string>` ::
156
157Profile ID.
158
159*pmgbackup proxmox-backup remote set* `<remote>` `[OPTIONS]`
160
161Update PBS remote settings.
162
163`<remote>`: `<string>` ::
164
165Proxmox Backup Server ID.
166
167`--datastore` `<string>` ::
168
169Proxmox Backup Server datastore name.
170
171`--delete` `<string>` ::
172
173A list of settings you want to delete.
174
175`--digest` `<string>` ::
176
177Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
178
179`--disable` `<boolean>` ::
180
181Flag to disable (deactivate) the entry.
182
183`--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
184
185Certificate SHA 256 fingerprint.
186
187`--keep-daily` `<N>` ::
188
189Keep backups for the last <N> different days. If there is more than one backup for a single day, only the latest one is kept.
190
191`--keep-hourly` `<N>` ::
192
193Keep backups for the last <N> different hours. If there is more than one backup for a single hour, only the latest one is kept.
194
195`--keep-last` `<N>` ::
196
197Keep the last <N> backups.
198
199`--keep-monthly` `<N>` ::
200
201Keep backups for the last <N> different months. If there is more than one backup for a single month, only the latest one is kept.
202
203`--keep-weekly` `<N>` ::
204
205Keep backups for the last <N> different weeks. If there ismore than one backup for a single week, only the latest one is kept.
206
207`--keep-yearly` `<N>` ::
208
209Keep backups for the last <N> different years. If there is more than one backup for a single year, only the latest one is kept.
210
211`--password` `<password>` ::
212
213Password or API token secret for the user on the Proxmox Backup Server.
214
215`--server` `<string>` ::
216
217Proxmox Backup Server address.
218
219`--username` `(?:[^\s\/\\@]+\@[^\s\/\\@]+)` ::
220
221Username or API token ID on the Proxmox Backup Server
222
223*pmgbackup proxmox-backup restore* `<remote> <backup-id> <backup-time>` `[OPTIONS]`
224
225Restore the system configuration.
226
227`<remote>`: `<string>` ::
228
229Proxmox Backup Server ID.
230
231`<backup-id>`: `<string>` ::
232
233backup-id (hostname) of backup snapshot
234
235`<backup-time>`: `<string>` ::
236
237backup-time to restore
238
239`--config` `<boolean>` ('default =' `0`)::
240
241Restore system configuration.
242
243`--database` `<boolean>` ('default =' `1`)::
244
245Restore the rule database. This is the default.
246
247`--statistic` `<boolean>` ('default =' `0`)::
248
249Restore statistic databases. Only considered when you restore the 'database'.
250
274b47fc
DM
251*pmgbackup restore* `--filename <string>` `[OPTIONS]`
252
253Restore the system configuration.
254
255`--config` `<boolean>` ('default =' `0`)::
256
257Restore system configuration.
258
259`--database` `<boolean>` ('default =' `1`)::
260
261Restore the rule database. This is the default.
262
263`--filename` `pmg-backup_[0-9A-Za-z_-]+\.tgz` ::
264
265The backup file name.
266
267`--statistic` `<boolean>` ('default =' `0`)::
268
269Restore statistic databases. Only considered when you restore the 'database'.
270
271