homeserver/roles/mgrote.restic
mg ffe99130f9 Error-Mail wenn restic-backup einen Exit-Code !=0 hat (#5)
Link

Typo

Bugfix: Postfix - tlx-param

Mailversand - wip

Syntax

Rolle postfix als Voraussetzung für restic

Co-authored-by: Michael Grote <38253905+quotengrote@users.noreply.github.com>
Reviewed-on: mg/ansible#5
2020-12-18 22:07:03 +01:00
..
defaults first commit 2020-08-18 11:57:53 +02:00
handlers first commit 2020-08-18 11:57:53 +02:00
meta Error-Mail wenn restic-backup einen Exit-Code !=0 hat (#5) 2020-12-18 22:07:03 +01:00
tasks FQCN eingeführt (#70) 2020-11-21 19:41:19 +01:00
templates Error-Mail wenn restic-backup einen Exit-Code !=0 hat (#5) 2020-12-18 22:07:03 +01:00
README.md first commit 2020-08-18 11:57:53 +02:00

mgrote.sicherung_cloud

Beschreibung

Installiert und konfiguriert restic. Die Konfigurationsdaten liegen unter /etc/restic. Es wird ein Cronjob angelegt, bei dem die Minuten quasi-zufaellig auf Basis des Hostnamens generiert werden.

Funktioniert auf

  • Ubuntu (>=18.04)
  • Debian
  • ProxMox 6.1

Variablen + Defaults

Wohin wird der Share gemountet

restic_mount: /mnt/restic

NAS + Repository

restic_repository: //fileserver2.grote.lan/Backup/restic

Password fuer das Restic-Repository

restic_repository_password: xxxxxx

Stunden Cronjob

restic_cron_hours: 8,19

Nutzername fuer die Freigabe

restic_mount_user: restic

Password fuer die Freigabe

restic_mount_password: xxx

Welche Ordner sollen gesichert werden

restic_folders_to_backup: "/usr/local /etc /root /var/www /home /var/lib/docker/volumes"