Simplified timer + update install instructions
This commit is contained in:
@ -3,5 +3,4 @@ Description=nxy database dump timer
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/home/nxy/backups
|
||||
ExecStart=/bin/sh -c "/usr/bin/pg_dump -d nxy_prod > $(date +%Y-%m-%d_%H-%M-%S).sql"
|
||||
ExecStart=/bin/sh -c "/usr/bin/pg_dump -d nxy_prod > dump.sql"
|
||||
|
Reference in New Issue
Block a user