Forge Home

backuppc

Controls backupPC and clients

Alkivi

alkivi

10,527 downloads

8,849 latest version

3.1 quality score

Version information

  • 0.1.3 (latest)
  • 0.1.0 (deleted)
  • 0.0.4 (deleted)
  • 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 declaration to your Puppetfile:

mod 'alkivi-backuppc', '0.1.3'
Learn more about managing modules with a Puppetfile

Add this module to a Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install alkivi-backuppc --version 0.1.3

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/backuppc — version 0.1.3 Mar 24th 2015

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