Fix paths for Borgmatic crontab file.

The `borgmatic` binary was moved inside the Docker container, therefore the crontab has to be changed or backups will fail.

See:
7076b56010
Dieser Commit ist enthalten in:
Florian Hillebrand 2022-09-04 18:30:53 +02:00
Ursprung 60941d2d28
Commit f869149313
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -111,7 +111,7 @@ Container einbinden. Der Container definiert zu diesem Zweck ein Volume namens `
Erstellen Sie eine neue Textdatei in `data/conf/borgmatic/etc/crontab.txt` mit folgendem Inhalt: Erstellen Sie eine neue Textdatei in `data/conf/borgmatic/etc/crontab.txt` mit folgendem Inhalt:
``` ```
14 * * * * PATH=$PATH:/usr/bin /usr/bin/borgmatic --stats -v 0 2>&1 14 * * * * PATH=$PATH:/usr/local/bin /usr/local/bin/borgmatic --stats -v 0 2>&1
``` ```
Diese Datei erwartet eine crontab-Syntax. Das hier gezeigte Beispiel veranlasst das Backup, jede Stunde um 14 Minuten nach Diese Datei erwartet eine crontab-Syntax. Das hier gezeigte Beispiel veranlasst das Backup, jede Stunde um 14 Minuten nach

Datei anzeigen

@ -112,7 +112,7 @@ container. The container defines a volume called `/mnt/borg-repository` for this
Create a new text file in `data/conf/borgmatic/etc/crontab.txt` with the following content: Create a new text file in `data/conf/borgmatic/etc/crontab.txt` with the following content:
``` ```
14 * * * * PATH=$PATH:/usr/bin /usr/bin/borgmatic --stats -v 0 2>&1 14 * * * * PATH=$PATH:/usr/local/bin /usr/local/bin/borgmatic --stats -v 0 2>&1
``` ```
This file expects crontab syntax. The example shown here will trigger the backup to run every hour at 14 minutes past This file expects crontab syntax. The example shown here will trigger the backup to run every hour at 14 minutes past