A simple backup script
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
backup/systemd/backup_postgresql.service

12 lines
216 B

[Unit]
Description=Run backups on PostgreSQL databases
[Service]
Type=oneshot
ExecStart=/usr/local/bin/backup.sh -p --no-cleanup
User=postgres
Group=postgres
WorkingDirectory=/tmp
[Install]
WantedBy=default.target