Forge Home

rear

Relax and Recover (rear) module

8,243 downloads

7,100 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.2.0 (latest)
  • 0.1.2
  • 0.1.1
  • 0.1.0
released Jun 17th 2016
This version is compatible with:
  • , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'thbe-rear', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add thbe-rear
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install thbe-rear --version 0.2.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

thbe/rear — version 0.2.0 Jun 17th 2016

rear

Build Status Puppet Forge Coverage Status

Table of Contents

  1. Description
  2. Setup - The basics of getting started with rear
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

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.

Setup

What rear affects

  • Install rear package
  • Setup basic rear cron job

Usage

ReaR minimal

class { 'rear':
  output_url => 'nfs://192.168.100.1/backup/rear',
  backup_url => 'nfs://192.168.100.1/backup/rear'
}

ReaR with backup schedule and SSH password

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!'
}

Reference

Here is the list of parameters used by this module.

$output

Backup method that is used Default value is ISO

$output_url

Backup target that is used for backup method Default value is 'nfs://192.168.0.1/srv/rear'

$backup

Backup method that is used Default value is NETFS

$backup_url

Backup target that is used for backup method Default value is 'nfs://192.168.0.1/srv/rear'

$backup_schedule

Backup frequency (daily, weekly or monthly) Default value is none

$ssh_root_password

Password that could be used to log into the recover live image as root Default value is 'Recover!N0W'

Limitations

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.

Development

If you like to add or improve this module, feel free to fork the module and send me a merge request with the modification.