duply

duply

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to install duply as a simple backup solution.

Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

duply_default_command

Default backup command

Default value

duply_default_command: full+purgeFull --force

duply_default_day

Default day cron entry

Default value

duply_default_day: '*'

duply_default_gpg_key

Default GnuPG key

Default value

duply_default_gpg_key: disabled

duply_default_gpg_opts

Default GnuPG options

Default value

duply_default_gpg_opts: --pinentry-mode loopback

duply_default_gpg_passwd

Default GnuPG password

Default value

duply_default_gpg_passwd:

duply_default_hour

Default hour cron entry

Default value

duply_default_hour: '5'

duply_default_max_age

Default max age

Default value

duply_default_max_age: 1M

duply_default_max_full

Default max full

Default value

duply_default_max_full: '1'

duply_default_minute

Default minute cron entry

Default value

duply_default_minute: '5'

duply_default_month

Default month cron entry

Default value

duply_default_month: '*'

duply_default_variables

Default variables list

Default value

duply_default_variables: []

Example usage

duply_default_variables:
  - key: aws_access_key_id
    value: S62L74JZVLLKQ5E9077R
  - key: aws_secret_access_key
    value: xmGiLiTMBGzMMwRh+jAYBvn9C7roiuDqVHDF_+RI

duply_default_verbosity

Default verbosity level

Default value

duply_default_verbosity: '1'

duply_default_volsize

Default volume size

Default value

duply_default_volsize: '1024'

duply_default_weekday

Default weekday cron entry

Default value

duply_default_weekday: '*'

duply_profiles

List of profile definitions

Default value

duply_profiles: []

Example usage

duply_profiles:
  - name: owncloud
    includes:
      - /var/lib/owncloud
  - name: external
    target: ftp://username:[email protected]
    ansible.builtin.command: full+verify+purge --force
    gpg_key: 52DCE5AE1FC80340A33894F5D583668622CDE10E
    gpg_passwd: p455w0rd
    max_age: 1W
    max_full: '7'
    verbosity: '1'
    minute: '0'
    hour: '5'
    day: '*'
    month: '*'
    weekday: '*'
    includes:
      - /var/lib/foo
      - /var/lib/bar

duply_target

Target for backups

Default value

duply_target:

Example usage

s3://backup.example.com

Discovered Tags

duply

ipsec

Dependencies

  • None

License

Apache-2.0

Author

Thomas Boerger

About

Ansible role to install duply as a simple backup solution

Install
ansible-galaxy install rolehippie/duply
GitHub repository
License
apache-2.0
Downloads
20
Owner
Ansible role collection of Webhippie