jprltsnz.borgmatic

BorgBackup con el Cliente borgmatic

CI

Configura borgmatic para hacer copias de seguridad por aplicación con cifrado y compresión opcionales. Actualmente soporta Debian/Ubuntu y CentOS/Red Hat.

Principalmente basado en https://github.com/borgbase/ansible-role-borgbackup, pero este rol es un poco más flexible y no soporta borgbase.

Requisitos

El directorio padre respositories de borgmatic_configs debe existir, o este rol fallará.

Variables del Rol

Dependencias

Este rol requiere que geerlingguy.repo-epel esté instalado; se llamará apropiadamente cuando sea necesario.

Ejemplo de Playbook

- name: Converger
  hosts: all
  tasks:
    - name: "Incluir borgmatic"
      include_role:
        name: jprltsnz.borgmatic
      vars:
        borgmatic_configs:
          backup-etc:
            location:
              source_directories:
                - /etc
              repositories:
                - /srv/backup_etc
              atime: false
              exclude_patterns:
                - icon_cache
            retention:
              keep_daily: 7
              keep_weekly: 4
              keep_monthly: 12

          backup-home:
            location:
              source_directories:
                - /home
              repositories:
                - /srv/backup_home
              atime: false
              exclude_patterns:
                - icon_cache
            retention:
              keep_daily: 7
              keep_weekly: 4
              keep_monthly: 12

Licencia

MIT

Acerca del proyecto

Sets backups using borg and borgmatic

Instalar
ansible-galaxy install jprltsnz.borgmatic
Licencia
Unknown
Descargas
81
Propietario