alkivi_backup

Controls backup of servers

Alkivi

alkivi

9,949 downloads

8,616 latest version

2.9 quality score

Version information

  • 0.0.4 (latest)
  • 0.0.3
  • 0.0.2
  • 0.0.1
released Mar 24th 2015

Start using this module

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