Skip to content

Installs borgbackup and borgmatic and configures automated backups.

Notifications You must be signed in to change notification settings

danihodovic/ansible-role-borgbackup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-role-borgbackup Build Status

An Ansible role to install Borg and Borgmatic.

Usage

- name: Install borg backups
  hosts: db
  tasks:
    - name: Install backups
      tags: borg
      import_role:
        name: ansible-role-borgbackup
      vars:
        borg_password: '{{ vault_borgmatic_password }}'
        borg_ssh_key: '{{ vault_borgmatic_ssh_key }}'
        borgmatic_config:
          location:
            repositories:
              - repo@repo.borgbase.com:repo
          hooks:
            postgresql_databases:
              - name: all
                hostname: localhost
                username: '{{ postgres_user }}'
                password: '{{ vault_postgres_password }}'
                ssl_mode: disable

About

Installs borgbackup and borgmatic and configures automated backups.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages