remote_backup
Easily declare incremental hourly backup rules with this module abstracting rdiff with built in support for NFS
Version information
released Jul 29th 2015
This version is compatible with:
- Puppet Enterprise >= 3.0.0 < 5.0.0
- Puppet >= 3.0.0 < 5.0.0
- , ,
Start using this module
Add this module to your Puppetfile:
mod 'tuxomatic-remote_backup', '1.0.1'
Learn more about managing modules with a PuppetfileDocumentation
tuxomatic/remote_backup — version 1.0.1 Jul 29th 2015
Puppet Remote Backup
Manage hourly incremental backup of multiple folders
- Define one or multiple directories to backup.
- The module will automatically run hourly jobs for incremental backup (using rdiff).
- Optionally use in combination with NFS to store your backups remotely all in one definition.
Example
You can manage in a single definition a mount definition for your NFS storage and the directories to backup there.
class { 'remote_backup':
mount_path => '/mnt/backup',
nfs_server_ip => '10.0.0.1',
nfs_server_path => 'my_nfs_storage',
backup_rule => {
directories_to_backup => ['/var/log', '/var/www'],
},
}
Simple hourly incremental backup from one or more folder/partition to another
class { 'remote_backup::rule':
directories_to_backup => ['/var/log', '/var/www'],
destination => '/data',
}
By default the backup retention is set for 30 days. This module has only been tested on RedHat based distributions. Using it on other systems is possible but might require adapting the package name of the dependencies.