Skip to content

Instantly share code, notes, and snippets.

@EmmanuelKasper
Last active December 27, 2015 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EmmanuelKasper/7301207 to your computer and use it in GitHub Desktop.
Save EmmanuelKasper/7301207 to your computer and use it in GitHub Desktop.
cron.daily entry for postgres backup all
#!/bin/sh
su -l postgres -c /usr/local/sbin/backup_postgres
# a nice comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment