Files
infra-borgbackup-postgresql/systemd/borg-backup.service
T
2026-05-31 17:37:31 +00:00

25 lines
454 B
Desktop File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[Unit]
Description=Borg Backup PostgreSQL Pull Backup
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
User=borgbackup
Group=borgbackup
ExecStart=/opt/borg-backup/scripts/backup-postgres.sh
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=borg-backup
# Sicherheit
PrivateTmp=true
NoNewPrivileges=true
ProtectSystem=strict
ReadWritePaths=/backup
# Timeout: max. 4 Stunden
TimeoutStartSec=14400