Forge Home

duplicity

Duplicity configuration for Ubuntu linux

8,459 downloads

7,760 latest version

1.5 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.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 1.0.3 (latest)
  • 1.0.2
  • 1.0.1
released Dec 29th 2015

Start using this module

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

Add this module to your Puppetfile:

mod 'opstudio-duplicity', '1.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add opstudio-duplicity
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install opstudio-duplicity --version 1.0.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

opstudio/duplicity — version 1.0.3 Dec 29th 2015

duplicity

Table of Contents

  1. Description
  2. Setup - The basics of getting started with duplicity
  3. Usage - Configuration options and additional functionality

Description

Install and configure duplicity on Ubuntu Linux.

Create scripts with backup jobs and add cron tasks.

Setup

What duplicity affects OPTIONAL

If it's obvious what your module touches, you can skip this section. For example, folks can probably figure out that your mysql_instance module affects their MySQL instances.

If there's more that they should know about, though, this is the place to mention:

  • A list of files, packages, services, or operations that the module will alter, impact, or execute.
  • Dependencies that your module automatically installs.
  • Warnings or other important notices.

Setup Requirements OPTIONAL

Before make backups you need to be sure you can connect to destination url.

Beginning with duplicity

(https://forge.puppetlabs.com/opstudio/duplicity/readme)

Install module

puppet module install opstudio-duplicity

Usage

Example configuration

include duplicity::install

$jira_home                = '/var/atlassian/application-data/jira'
$jira_install_dir         = '/opt/atlassian/jira'
$backup_server            = "192.168.0.251"
$backup_user              = "backup_user"
$backup_transfer_type     = "rsync"
$backup_base              = "/backup"
$backup_agent_node        = $::hostname
$full_backup_interval     = '2W'
$last_full_backup_to_keep = '24'
$last_increment_to_keep   = '110'
$backup_schedule_hours    = [3, 9, 15, 21]
$cleanup_schedule_hours   = [4]

$source_dirs = [$jira_home, $jira_install_dir]
$ignore_dirs = ["$jira_home/tmp/*", "$jira_home/caches/*", "$jira_install_dir/temp/*"]

duplicity::backup_job { "jira":
  backup_server            => $backup_server,
  backup_user              => $backup_user,
  backup_transfer_type     => $backup_transfer_type,
  backup_base              => $backup_base,
  source_dirs              => $source_dirs,
  ignore_dirs              => $ignore_dirs,
  full_backup_interval     => '2W',
  last_full_backup_to_keep => '24',
  last_increment_to_keep   => '110',
  backup_schedule_hours    => $backup_schedule_hours,
  cleanup_schedule_hours   => $cleanup_schedule_hours,
  force_create_dir_by_ssh  => true,
}

fancy stuff with your module here. It's especially helpful if you include usage examples and code samples for doing things with your module.