1 *pmgbackup* `<COMMAND> [ARGS] [OPTIONS]`
3 *pmgbackup backup* `[OPTIONS]`
5 Backup the system configuration.
7 `--statistic` `<boolean>` ('default =' `1`)::
9 Backup statistic databases.
11 *pmgbackup help* `[OPTIONS]`
13 Get help about specified command.
15 `--extra-args` `<array>` ::
17 Shows help for a specific command
19 `--verbose` `<boolean>` ::
21 Verbose output format.
25 List all stored backups (files named proxmox-backup_{DATE}.tgz).
27 *pmgbackup proxmox-backup backup* `<remote>`
29 Create a new backup and prune the backup group afterwards, if configured.
31 `<remote>`: `<string>` ::
33 Proxmox Backup Server ID.
35 *pmgbackup proxmox-backup forget* `<remote> <backup-id> <backup-time>`
39 `<remote>`: `<string>` ::
41 Proxmox Backup Server ID.
43 `<backup-id>`: `<string>` ::
45 ID (hostname) of backup snapshot
47 `<backup-time>`: `<string>` ::
49 Backup time in RFC 3339 format
51 *pmgbackup proxmox-backup job create* `<remote>` `[OPTIONS]`
53 Create backup schedule
55 `<remote>`: `<string>` ::
57 Proxmox Backup Server ID.
59 `--delay` `[0-9a-zA-Z. ]+` ('default =' `5min`)::
61 Randomized delay to add to the starttime (RandomizedDelaySec setting of the systemd.timer)
63 `--schedule` `[0-9a-zA-Z*.:,\-/ ]+` ('default =' `daily`)::
65 Schedule for the backup (OnCalendar setting of the systemd.timer)
67 *pmgbackup proxmox-backup job delete* `<remote>`
69 Delete backup schedule
71 `<remote>`: `<string>` ::
73 Proxmox Backup Server ID.
75 *pmgbackup proxmox-backup job show* `<remote>` `[FORMAT_OPTIONS]`
77 Get timer specification
79 `<remote>`: `<string>` ::
81 Proxmox Backup Server ID.
83 *pmgbackup proxmox-backup list* `<remote>` `[FORMAT_OPTIONS]`
85 Get snapshots stored on remote.
87 `<remote>`: `<string>` ::
89 Proxmox Backup Server ID.
91 *pmgbackup proxmox-backup remote add* `<remote> --datastore <string> --server <string>` `[OPTIONS]`
93 Add Proxmox Backup Server remote instance.
95 `<remote>`: `<string>` ::
97 Proxmox Backup Server ID.
99 `--datastore` `<string>` ::
101 Proxmox Backup Server datastore name.
103 `--disable` `<boolean>` ::
105 Flag to disable (deactivate) the entry.
107 `--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
109 Certificate SHA 256 fingerprint.
111 `--keep-daily` `<N>` ::
113 Keep backups for the last <N> different days. If there is more than one backup for a single day, only the latest one is kept.
115 `--keep-hourly` `<N>` ::
117 Keep backups for the last <N> different hours. If there is more than one backup for a single hour, only the latest one is kept.
119 `--keep-last` `<N>` ::
121 Keep the last <N> backups.
123 `--keep-monthly` `<N>` ::
125 Keep backups for the last <N> different months. If there is more than one backup for a single month, only the latest one is kept.
127 `--keep-weekly` `<N>` ::
129 Keep backups for the last <N> different weeks. If there ismore than one backup for a single week, only the latest one is kept.
131 `--keep-yearly` `<N>` ::
133 Keep backups for the last <N> different years. If there is more than one backup for a single year, only the latest one is kept.
135 `--password` `<password>` ::
137 Password or API token secret for the user on the Proxmox Backup Server.
139 `--server` `<string>` ::
141 Proxmox Backup Server address.
143 `--username` `(?:[^\s\/\\@]+\@[^\s\/\\@]+)` ::
145 Username or API token ID on the Proxmox Backup Server
147 *pmgbackup proxmox-backup remote list* `[FORMAT_OPTIONS]`
149 List all configured Proxmox Backup Server instances.
151 *pmgbackup proxmox-backup remote remove* `<remote>`
155 `<remote>`: `<string>` ::
159 *pmgbackup proxmox-backup remote set* `<remote>` `[OPTIONS]`
161 Update PBS remote settings.
163 `<remote>`: `<string>` ::
165 Proxmox Backup Server ID.
167 `--datastore` `<string>` ::
169 Proxmox Backup Server datastore name.
171 `--delete` `<string>` ::
173 A list of settings you want to delete.
175 `--digest` `<string>` ::
177 Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
179 `--disable` `<boolean>` ::
181 Flag to disable (deactivate) the entry.
183 `--fingerprint` `([A-Fa-f0-9]{2}:){31}[A-Fa-f0-9]{2}` ::
185 Certificate SHA 256 fingerprint.
187 `--keep-daily` `<N>` ::
189 Keep backups for the last <N> different days. If there is more than one backup for a single day, only the latest one is kept.
191 `--keep-hourly` `<N>` ::
193 Keep backups for the last <N> different hours. If there is more than one backup for a single hour, only the latest one is kept.
195 `--keep-last` `<N>` ::
197 Keep the last <N> backups.
199 `--keep-monthly` `<N>` ::
201 Keep backups for the last <N> different months. If there is more than one backup for a single month, only the latest one is kept.
203 `--keep-weekly` `<N>` ::
205 Keep backups for the last <N> different weeks. If there ismore than one backup for a single week, only the latest one is kept.
207 `--keep-yearly` `<N>` ::
209 Keep backups for the last <N> different years. If there is more than one backup for a single year, only the latest one is kept.
211 `--password` `<password>` ::
213 Password or API token secret for the user on the Proxmox Backup Server.
215 `--server` `<string>` ::
217 Proxmox Backup Server address.
219 `--username` `(?:[^\s\/\\@]+\@[^\s\/\\@]+)` ::
221 Username or API token ID on the Proxmox Backup Server
223 *pmgbackup proxmox-backup restore* `<remote> <backup-id> <backup-time>` `[OPTIONS]`
225 Restore the system configuration.
227 `<remote>`: `<string>` ::
229 Proxmox Backup Server ID.
231 `<backup-id>`: `<string>` ::
233 backup-id (hostname) of backup snapshot
235 `<backup-time>`: `<string>` ::
237 backup-time to restore
239 `--config` `<boolean>` ('default =' `0`)::
241 Restore system configuration.
243 `--database` `<boolean>` ('default =' `1`)::
245 Restore the rule database. This is the default.
247 `--statistic` `<boolean>` ('default =' `0`)::
249 Restore statistic databases. Only considered when you restore the 'database'.
251 *pmgbackup restore* `--filename <string>` `[OPTIONS]`
253 Restore the system configuration.
255 `--config` `<boolean>` ('default =' `0`)::
257 Restore system configuration.
259 `--database` `<boolean>` ('default =' `1`)::
261 Restore the rule database. This is the default.
263 `--filename` `pmg-backup_[0-9A-Za-z_-]+\.tgz` ::
265 The backup file name.
267 `--statistic` `<boolean>` ('default =' `0`)::
269 Restore statistic databases. Only considered when you restore the 'database'.