Introduction to Domain Backups
If you use Cloudmin to manage one or more systems running Virtualmin, you can have it backup domains and global Virtualmin settings (like plans and templates) from one more more source system to multiple destinations. This can be used instead of configuring backups on each system separately, and to ensure consistency of backup and deletion policies between machines.
Setting Up Domain Backups
To configure Cloudmin to backup virtual servers from several source systems to one or more destinations, follow these steps :
- On the left menu, go to Virtualmin Settings -> Virtual Server Backups.
- Click on Add a new Virtualmin backup.
- Choose the machines to backup in the Source systems box, by using the right-arrow button to move them to the right-hand list.
- Enter backup locations in the Backup destination URLs box. These can either be paths like
/backup
, or remote URLs likessh://user:pass@host/backup
- Select the virtual servers to include from the Virtualmin domains to backup list.
- If you want backups to be automatically deleted, enter a maximum age in the Delete old backups after field. This requires that the destination path use
strftime
-format date codes, like %d and %m. - Select a schedule in the When to backup field.
- Enter an email address to notify about failures in the Send email on failure to field.
- Click the Create button.
One a backup has been setup, you can change what gets included and to where it is send by clicking on an entry in the Virtual Server Backups list. Backup configurations can also be deleted and started manually on the same page.
Setting Up Global Configuration Backups
To instead backup global settings like plans on systems running Virtualmin, follow these steps :
- On the left menu, go to Virtualmin Settings -> Virtual Server Backups.
- Click on Add a new Virtualmin backup.
- Choose the machines to backup in the Source systems box, by using the right-arrow button to move them to the right-hand list.
- Enter backup locations in the Backup destination URLs box. These can either be paths like
/backup
, or remote URLs likessh://user:pass@host/backup
- Select the settings to include from the Virtualmin global settings to backup list.
- Select a schedule in the When to backup field.
- Enter an email address to notify about failures in the Send email on failure to field.
- Click the Create button.