Recommended Cloud Backup file/directory level configuration for a Linux server

The following is a list of the most common data and config directories typically used for Cloud Backup:

  • /etc/
  • /home/
  • /root/
  • /var/spool/cron
  • /var/log/
  • /var/www/html/ (If Apache is using default DocumentRoot.)
  • /var/ftp/pub/ (If vsftp is using default settings.)
  • /var/spool/holland (For database, backups see below.)

Note: Backing up /var/lib/mysql directly IS NOT recommended. These are live database files that WILL NOT be effectively backed up, since they are being actively written to.

If running MySQL or other database server, use a database archiving tool like Holland. This will (by default) create database dumps in var/spool/holland and you would add that to the Cloud Backup configuration file.

Alternatively you can set the Cloud Backup to backup the entire / file system and exclude as needed for example /var/lib/mysql.

Return to Rackspace Cloud Backup - Create a Backup article.

© 2015 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

See license specifics and DISCLAIMER