Scheduling backups and running manual backups
How to schedule backups and run backups manually.
Scheduling Backups
To set a backup schedule for Sundays at 11:00PM:
backup schedule enable --hour 23 --weekday sundayExample output:
Scheduled backups enabled on Sundays at 23:00, CDT.
External target upload is disabled.To see the currently configured schedule:
show backup scheduleExample output:
Scheduled backups are enabled on Sundays at 23:00 CDT.
External target upload is disabled.With the above schedule configuration, the backup will be local only. To enable upload to an external target (which must also be configured as shown in the Configuring External Targets section below), use the --enable-external-upload option as shown in the below example:
backup schedule enable --enable-external-uploadDisable it with --disable-external-upload:
Scheduled backups are disabled by default. If you enable them but later decide to disable them, scheduled backups may be disabled with the following command:
Running Backups Manually
To backup locally (even if you have external targets configured):
The output would look similar to this (the version and date is embedded in the file name):
migration just means the same thing as backup and is inconsequential.
To run a backup that includes external targets,remove the --local-only option as seen in the below example:
In this case a local backup was run and then a copy was uploaded to all configured external targets. If there were any failures, the output would show this.
Last updated
Was this helpful?