This Page will help you in Creating and Managing your backup files. Creating and restoring backups in Webuzo is very easy. Once backup or restore process gets completed, the system sends a notification to Admin email address (if set) with the backup file name on success or encountered error(s). You can either create a new backup or restore, delete or download an existing backup file. The backups are stored in /var/webuzo/backup directory. Here are the Screenshots that shows how to create and manage backups form the panel.
You can access backup files from Webuzo Enduser Panel > Server Utilities > Webuzo Backup
A full backup process will take a backup of the following:
- User Home Directory
- User Databases (If MySQL is installed)
- Mail Files (If Exim is installed)
- DNS files (If BIND is installed)
Here you can create or restore a backup of only the Webuzo user’s home directory.
Here you will be able to either backup or restore user created Databases. This will work only if you have an instance of MySQL installed and running on your machine.
- You can not backup or restore MongoDB files using this utility.
You can backup and restore your mails from here. This utility will only work if you have Exim installed on your machine.
Logs for both backup and restore process can be viewed directly from the panel. If you want, you can clear the logs using the “Clear Logs” button
You will need the root privileges to run this utility.
- Backup and Restoration can also be done from the terminal using our cli utility. The below command will backup your home directory. You can either specify the type as ‘full’, ‘home’, ‘data’ or ‘mail’.
/usr/local/emps/bin/php /usr/local/webuzo/cli.php --webuzo_backup --backup=1 --type=home
- To restore a backup file say of type: home and name: homebackup_2016-05-15_07-52-50.tar.gz, run the following command:
/usr/local/emps/bin/php /usr/local/webuzo/cli.php --webuzo_backup --restore=1 --type=home --filename=homebackup_2016-05-15_07-52-50.tar.gz
Add backup files manually to Webuzo Backup Utility
If you have copied your backup file in /var/webuzo/backup/, then you must execute the following command for that backup file to be displayed in Webuzo Backups Page. In below command the –filename is the name of the backup file you uploaded in /var/webuzo/backup and –type is the backup type e.g:- full, home, data or mail.
/usr/local/emps/bin/php /usr/local/webuzo/cli.php --webuzo_backup --add_local_backup_filename=1 --filename=homebackup_2018-05-18_03-20-09.tar.gz --type=home
First, we need to add a Backup server to upload our backup files.
Add Backup Server
- Click on the Backup Server tab on the Webuzo Backup page.
- After the tab reveals the Backup Servers table click on Add Backup Server button.
- Enter the Backup server details according to the input field provided in the form, you can Test the connection to your server and then hit Submit.
Do a Remote Backup
- On the Webuzo Backup page click on the Backup Now button
- Configure the backup process according to your needs and hit Backup Now.
- Select backup Server – Select the Remote server to which you want to upload your backup.
- Backup Type – Select the Backup type.
- Skip Softaculous Backup – Check the box if you don’t want to include the Softaculous Backup directory in your Webuzo Backup. (Only applicable for Full and Home backup type)
- You can check the logs for the Backup process status.
Do a Remote Restore
- On the Webuzo Backup page click on the restore button corresponding to the Backup file you want to restore.
- You can check the logs for the Restore process status.