Baruwa Backups

Etckeeper

The configurations in the /etc directory are backed up using etckeeper into a git repository located in /etc/.git. You should be able to recover and restore any configuration files you change or delete.

Backup Ninja

Baruwa Enterprise Edition ships with and configures backupninja to backup the database, system configurations as well as the mail quarantine.

Database backups

A SQL dump of the database is created daily and is stored in the /var/lib/pgsql/backups directory.

Filesystem backups

These backups are created in the rdiff format and contain both the Database and Etckeeper backups.

The backups are stored under /var/backups/hostname.

Note

The default configuration stores filesystem backups for 10 days, if your server does not have sufficient space you need to change the keep option to a lower value in /etc/backup.d/20-server-fs.rdiff

Offsite Backups

You can setup your own offsite backups by placing a file in the /etc/backups.d directory. The supported remote backup formats are:

Frequency

The backups are created once a day.

Disabling Backups

Backups can be disabled by unchecking the Enable Backups checkbox on the Management Other Settings screen of the baruwa-setup utility.