Difference between revisions of "Cedeus DB backups"

From stgo
Jump to: navigation, search
(Created page with ">> return to Cedeus_IDE ---- == How to set up Backups == copy of the geonode DB # create a shell script that contains the pgdump instructions - see geonode_backup.sh on ...")
 
(How to set up Backups)
Line 5: Line 5:
  
 
copy of the geonode DB
 
copy of the geonode DB
# create a shell script that contains the pgdump instructions - see geonode_backup.sh on CedeusDB
+
# create a shell script that contains the pgdump instructions - see /home/ssteinig/geonode_backup.sh on CedeusDB
 +
# test if script actually works (using sudo?)
 
# create a cron-tab entry for admin/root user using <code>crontab -e</code>
 
# create a cron-tab entry for admin/root user using <code>crontab -e</code>
 
#: then add entry such as <code>00 01 * * * /home/ssteinig/geonode_backup.sh</code> to run the script daily at 1:00 am
 
#: then add entry such as <code>00 01 * * * /home/ssteinig/geonode_backup.sh</code> to run the script daily at 1:00 am

Revision as of 16:39, 1 December 2014

>> return to Cedeus_IDE


How to set up Backups

copy of the geonode DB

  1. create a shell script that contains the pgdump instructions - see /home/ssteinig/geonode_backup.sh on CedeusDB
  2. test if script actually works (using sudo?)
  3. create a cron-tab entry for admin/root user using crontab -e
    then add entry such as 00 01 * * * /home/ssteinig/geonode_backup.sh to run the script daily at 1:00 am