Forge Home

alkivi_backup

Controls backup of servers

11,113 downloads

9,721 latest version

2.9 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.0.4 (latest)
  • 0.0.3 (deleted)
  • 0.0.2 (deleted)
  • 0.0.1 (deleted)
released Mar 24th 2015

Start using this module

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

Add this module to your Puppetfile:

mod 'alkivi-alkivi_backup', '0.0.4'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add alkivi-alkivi_backup
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install alkivi-alkivi_backup --version 0.0.4

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

alkivi/alkivi_backup — version 0.0.4 Mar 24th 2015

Alkivi Backup Module

This module will install and configure a cron tab to configure backup

Usage

Minimal server configuration

class { alkivi_backup:
  backup_method => 'file',
  file_dir      => '/home/alkivi-backup/admin.alkivi.fr/',
  email_subject => '[backup] report from admin.alkivi.fr',
  include_dir   =>  ['/etc', '/root', '/home', '/usr/local', '/var/log'],
  exclude_dir   =>  ['/home/alkivi-backup', '/root/archive'],
  hostname      => 'admin.alkivi.fr',
}

Example with ssh

class { alkivi_backup:
  ssh_user      => 'alkivi-web',
  email_subject => '[backup] report from web.alkivi.fr',
  include_dir   =>  ['/etc', '/root', '/home', '/usr/local', '/var/log'],
  exclude_dir   =>  ['/home/alkivi-backup'],
  hostname      => 'web.alkivi.fr',
}

Example for mysql

class { alkivi_backup::mysql:
  server => 'web.alkivi.fr',
}

check .pp file for more configuration

Example for postgresql

class { alkivi_backup::postgresql:
  server => 'localhost',
}

check .pp file for more configuration

Credits

Original executable comes from duplicity backup : http://zertrin.org/projects/duplicity-backup/ Mysql backup comes from : http://sourceforge.net/projects/automysqlbackup/ Postgresql comes from : https://github.com/adamfeuer/pgsqlbackup-tools/blob/master/autopgsqlbackup

Limitations

  • This module has been tested on Debian Wheezy, Squeeze.

License

The code is freely distributable under the terms of the LGPLv3 license.

Contact

Need help ? contact@alkivi.fr

Support

Please log tickets and issues at our Github