Webuzo Backup And Restore
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.
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 Databased. 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
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 preivileges to run this utility.