Compare commits

..

2 commits

Author SHA1 Message Date
f6672dcfc5 Change listen port 2024-06-06 16:09:12 +02:00
3762cf6443 Exclude --files flag from borgmatic command 2024-06-06 16:06:18 +02:00
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ services:
options: options:
tag: mailu-admin tag: mailu-admin
ports: ports:
- 127.0.0.1:8005:80 - 127.0.0.1:8005:8080
volumes: volumes:
- admin_data:/data - admin_data:/data
- admin_dkim:/dkim - admin_dkim:/dkim

View file

@ -67,7 +67,7 @@ perform_backup() {
"$borgmatic" create --files --stats --verbosity 2 --syslog-verbosity -1 2>&1 | tee -a "$LOG_FILE" || return 1 "$borgmatic" create --files --stats --verbosity 2 --syslog-verbosity -1 2>&1 | tee -a "$LOG_FILE" || return 1
set_state LastBackupPrettyTimestamp "$(dt_to_pretty "$(get_last_backup_ts)")" "$((4 * 60 * 60))" set_state LastBackupPrettyTimestamp "$(dt_to_pretty "$(get_last_backup_ts)")" "$((4 * 60 * 60))"
"$borgmatic" prune --files --stats --verbosity 2 --syslog-verbosity -1 2>&1 | tee -a "$LOG_FILE" || return 2 "$borgmatic" prune --stats --verbosity 2 --syslog-verbosity -1 2>&1 | tee -a "$LOG_FILE" || return 2
} }
perform_check() { perform_check() {