[Unit] 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"