Following are the steps to backup your Postgresql Database(s):
- Login to http://YOURDOMAINNAME.COM:10000
- Click on the "Create a new scheduled cron job" link.
- Type the following in the following sections:
- Command: /usr/bin/pg_dump -f ~/DATABASENAME.backup.sql DATABASENAME
- If you want to have unique backups by day
- /usr/bin/pg_dump -f ~/DATABASENAME.`date "+%d%b"`.backup.sql DATABASENAME
- When to execute
- simple schedule: Daily
- Click on create.
- Repeat for each of your databases.
- The names of your databases can be found by going to "Servers" then postgreql.
