alkivi-backuppc

Setup backupPC and handle client configuration in puppet


Keywords
debian, backuppc
License
LGPL-3.0
Install
puppet module install alkivi-backuppc --version 0.0.2

Documentation

BackupPC Module

This module will install and configure a BackupPC server and allow you to add other puppet managed nodes as clients/hosts. It uses exported resources to create the client's configuration file

Usage

Minimal server configuration

class { 'backuppc': }

This will do the typical install, configure and service management. The module manage does NOT manage apache by default service that something has changed. Alternatively you can install backuppc as a virtual host or whatever else suits your needs.

An htaccess will be put in place, update it according to your needs

More server configuration

class { 'backuppc':
  wakeup_schedule   => [1, 2, 3, 4, 5, 21, 22, 23],
  max_backups       => 3,
  max_user_backups  => 1,
}

Please consult the BackupPC documentation for explanations on configuration options: http://backuppc.sourceforge.net/faq/BackupPC.html

Host configuration

class { 'backuppc::host':
    ip                 => '192.168.10.1',
    os                 => 'osx',
    backup_method      => 'rsync',
    backup_data        => { '/' => ['Users'] },
    blackout_periods'  => [ { 'hourBegin' => '7.0', 'hourEnd' => '19.5', 'weekDays' => [ 1, 2, 3, 4, 5] } ],
    dumpPreUserCmd     => undef,
    dumpPostUserCmd    => undef,
    dumpPreShareCmd    => undef,
    dumpPostShareCmd   => undef,
    restorePreUserCmd  => undef,
    restorePostUserCmd => undef,
    archivePreUserCmd  => undef,
    archivePostUserCmd => undef,
    remote_user        => 'root',
}

Limitations

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

License

All 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