Skip to content

static302/ansible-duplicacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible duplicacy role

Ansible role to install and configure Duplicacy.

Requirements

Works on Linux, other platforms are easy to add if needed.
Ansible target hosts require python, POSIX-compatible shell.
For monitoring and notification needs healthchecks.io is used, you can use either cloud or standalone version or remove it from role\script or replace with your own recipe.
curl and jq are requiered for default healthcheck implementation, you can use other methods within script if you want to.

Role itself

This role can be separated into 2 roles (install and configure), but in my understanding it's better to run alltogether to ensure you are using up to date version of duplicacy.

Role Common Variables

use_duplicacy - Used to mark host\group as an subject to duplicacy role. Put it in you inventory host\group files.
application - Application running on target host to point specific pre|post tasks or filters. Should be placed in you inventory host\group files.
use_duplicacy_posttasks/use_duplicacy_pretasks - Should role generate pre|post-backup duplicacy scripts or not. Templates for these scripts should exist.
duplicacy_storage_backend - Define backend where duplicacy store data, onedrive and s3 available to use in the role atm.
hc_API_key - Your healthchecks.io API key goes here.
duplicacy_storage_name/duplicacy_storage_url/duplicacy_storage_password - Selfexplanatory.
duplicacy_s3_id/duplicacy_s3_secret - s3 backend specific variables.
duplicacy_filters - Your set of directories to backup, in addition to /etc, which is default.

About

Ansible role to install and configure Duplicacy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published