Knowledge Base

Backup strategies for DropSuite Enterprise with Webuzo

DropSuite Enterprise (DSE) is backup system that can back up all or part of your server and maintains versions of your files for every change to the file. It also includes a feature to back up MySQL databases. This article describes some strategies to consider when you create your backup settings.

This article describes possible strategies, but does not prescribe appropriate settings for any specific situation. Your backup settings should reflect your specific needs and comfort level.

Backing up everything

Backing up your entire server ensures that every file and setting is preserved in case of disaster. Unfortunately, there are some drawbacks to this approach. Much of your space may be consumed by many versions of log files, and direct file backups require the database server to be shut down to ensure correct backup. To avoid wasting backup quota, you should exclude log directories like /var/log. To ensure restorable database backups, use the database backup feature of DSE.

  • Advantages: Backs up everything, and is simple to set up.
  • Disadvantages: Inefficient use of backup quota. Additional configuration required for database backups.

Example settings

Server configuration:

Database configuration (one per database):

Backing up user files and Webuzo settings

Backing up user files and Webuzo settings provides the basis to restore to a rebuilt server or move to a new server. Many customizations are preserved without backing up common system files. To ensure restorable database backups, use the database backup feature of DSE. For a typical Webuzo installation, backing up the following directories includes user files and Webuzo settings:

  • /var/webuzo: for Webuzo-related settings.
  • /home/username: for user files.
    Specify individual usernames to back up specific users, or just use /home to back up all users.
  • /etc/vmail and /var/local/vmail: mail files.
  • /var/lib/mysql: database directory
     
  • Advantages: Backs up user files and useful settings so the server can be restored in case of disaster. Uses less storage space so more restore points can be preserved.
  • Disadvantages: Some manual reconfiguration of the server may be required in case of disaster recovery. Additional configuration required for database backups.

Example settings

Server configuration:

Database configuration (one per database):

Backing up the website only

Backing up just the website is uses the smallest amount of space and provides the most restore points. If your primary concern is protecting your website and being able to roll back to previous versions, this may be the best strategy. To ensure restorable database backups, use the database backup feature of DSE. For a typical Webuzo installation, backing up the following directories backs up website files:

  • /home/username/public_html: make one entry per user if there are multiple users.
     
  • Advantages: Backs up website files. More restore points.
  • Disadvantages: Most amount of manual reconfiguration required in case of disaster recovery.

Example settings

Server configuration:

Database configuration (one per database):

Backups and root access

One of the main features of the A2 Hosting Dynamic VPS and semi-managed dedicated servers with Webuzo is root access. Root access allows you complete control over customization of the server. That means you might be installing software, creating configurations, and storing data in locations not included in your current backup. To avoid data loss, be sure to update your backup settings after every new installation.