jprltsnz.borgmatic

BorgBackup mit borgmatic Client

CI

Richtet borgmatic ein, um anwendungsbezogene Backups mit optionaler Verschlüsselung und Kompression zu erstellen. Derzeit werden Debian/Ubuntu und CentOS/Red Hat unterstützt.

Hauptsächlich basiert auf https://github.com/borgbase/ansible-role-borgbackup, aber dieses Rollenspiel ist etwas flexibler und unterstützt borgbase nicht.

Anforderungen

Das Hauptverzeichnis respositories von borgmatic_configs muss vorhanden sein, sonst schlägt dieses Rollenspiel fehl.

Rollenspiel-Variablen

Abhängigkeiten

Dieses Rollenspiel erfordert die Installation von geerlingguy.repo-epel – es wird bei Bedarf korrekt aufgerufen.

Beispiel-Playbook

- name: Konvergenz
  hosts: alle
  tasks:
    - name: "Borgmatic einfügen"
      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

Lizenz

MIT

Über das Projekt

Sets backups using borg and borgmatic

Installieren
ansible-galaxy install jprltsnz.borgmatic
GitHub Repository
Lizenz
Unknown
Downloads
81
Besitzer