- Description
- Setup - The basics of getting started with rear
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
The rear module install and configures the Relax and Recovery suite (http://relax-and-recover.org) that provides an easy to use script to create backup and recovery images.
- Install rear package
- Setup basic rear cron job
class { 'rear':
output_url => 'nfs://192.168.100.1/backup/rear',
backup_url => 'nfs://192.168.100.1/backup/rear'
}
class { 'rear':
output_url => 'nfs://192.168.100.1/backup/rear',
backup_url => 'nfs://192.168.100.1/backup/rear'
backup_schedule => 'weekly'
ssh_root_password => 'HyperSecret01x!'
}
Here is the list of parameters used by this module.
Backup method that is used Default value is ISO
Backup target that is used for backup method Default value is 'nfs://192.168.0.1/srv/rear'
Backup method that is used Default value is NETFS
Backup target that is used for backup method Default value is 'nfs://192.168.0.1/srv/rear'
Backup frequency (daily, weekly or monthly) Default value is none
Password that could be used to log into the recover live image as root Default value is 'Recover!N0W'
This module has been built on and tested against Puppet 4.0 and higher.
The module has been tested on:
- RedHat Enterprise Linux 6/7
- Scientific Linux 6/7
- CentOS Linux 6/7
Testing on other platforms has been light and cannot be guaranteed.
If you like to add or improve this module, feel free to fork the module and send me a merge request with the modification.