Skip to content

Puppet module to install and manage backup jobs using the ruby backup package

License

Notifications You must be signed in to change notification settings

bashtoni/evenup-backups

 
 

Repository files navigation

What is it?

Puppet module to install the ruby backup gem and create jobs to back up various services and directories.

A script to build the rubygem-backup package is provided in scripts. It adds bundler support to backup, bundles everything up, and uses fpm to create an RPM.

Released under the Apache 2.0 licence

Usage:

To install:

  class { 'backups':
    aws_access_key  = 'real_aws_access_key,
    aws_secret_key  = 'real_aws_secret_key',
    bucket          = 'mybucket',
  }

To backup the /opt/myapp/logs and /var/log/ directories at 4:25 every day:

  backups::archive { 'logs'
    path    => [ '/opt/myapp/logs', '/var/log' ],
    hour    => 4,
    minute  => 25,
  }

To backup a development Riak install:

  backups::archive { 'dev-riak'
    mode    => 'dev',
    hour    => 4,
    minute  => 25,
  }

Contribute:

  • Fork it
  • Create a topic branch
  • Improve/fix (with spec tests)
  • Push new topic branch
  • Submit a PR
  • Enjoy your awesome contribution

About

Puppet module to install and manage backup jobs using the ruby backup package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 58.5%
  • Ruby 33.5%
  • Shell 8.0%