Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- import sys
- import os
- cmd = "pg_dump -Uadmin -W cana | gzip -c > cana.$(date +%Y-%m-%d).sql.gz"
- os.system(cmd)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement