Skip to content

tbpoetke/borgbackup-playbook

This branch is 1 commit behind wzyboy/borgbackup-playbook:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 18, 2018
bdb5b6c · May 18, 2018

History

13 Commits
May 18, 2018
Dec 17, 2017
Dec 17, 2017
Dec 17, 2017
May 18, 2018

Repository files navigation

BorgBackup Ansible Playbook

A simple Ansible Playbook to install and set up BorgBackup.

Requirements

  • You need borg init the target repository first;
  • If passing -e borg_setup_pubkey=True, a pair of SSH key would be generated on the host to be backed up (if not existed), and installed to the backup host;
  • If using rsync.net as backup host, special tasks would be run to ensure the installation of the public key.

Usage

  1. Copy hosts.example to hosts and edit it properly.
  2. Optionally edit the vars in site.yaml. They can be overridden by -e key=value.
  3. Run ansible-playbook -i hosts site.yaml.

About

Ansible Playbook for setting up BorgBackup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published