Webuzo Backup And Restore

From Webuzo Wiki
Jump to: navigation, search


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
Webuzo backup.png

Full Backup

A full backup process will take a backup of the following:

  • User Home Directory
  • Domains
  • Cronjobs
  • User Databases (If MySQL is installed)
  • Mail Files (If Exim is installed)
  • DNS files (If BIND is installed)

Full backup.png

Home Backup

Here you can create or restore a backup of only the Webuzo user's home directory.

Home backup.png

Data Backup

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.

Data backup.png

Mail Backup

You can backup and restore your mails from here. This utility will only work if you have Exim installed on your machine.

Mail backup.png


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

Logs backup.png


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
  • You will need the root privileges to run this utility.