Skip to content

jmwenda/geonode-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

===========================================================================
This is a series of bash scripts/commands to be used to perform basic
utilities for a GeoNode instance. This has several case scenarios which
include:
       *Backing up a geonode to a directory- $geonode-backup [origin] [destinati        on]
       *Restoring a geonode from a backup- $geonode-backup /data/geonode-backup/geonode_backup2011Nov4
       *Setting up a mirror by providing two datails the localserver and the remote address of the mirror server $geonode-backup localhost [email protected]
Hopefully in future we will look into backing up to an S3 service.
While backing up time stamps will be attached and GWC files will not be 
zipped,this is just cleaning and addition of more properties to the following script https://gist.github.com/1318669
========================================================================
To perform a back up/restore to a directory run the following command syntax
geonode-backup account@serverip directory operation
For example:
geonode-backup [email protected] data --backup
geonode-backup [email protected] data/geonode_2011_06_01/ --restore

In the event you need to restore to a freshly installed ubuntu remember to change to PSQL and change the password, or alternatively change the password
on the local_settings.py file to match. This is to enable the database connectivity.

To perform a mirror
geonode-backup source destination operation
For example:
geonode-backup [email protected] ubuntu@localhost --mirror



About

Shell Scripts to backup a GeoNode Instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages