[GeoNode-users] Valid backup GeoNode 2.4

LEOPOLDO JAVIER NUNEZ DE SANTIAGO . lnunezde at guanajuato.gob.mx
Mon Oct 17 07:06:42 PDT 2016


Hi, It is still validates this configuration to create a backup of your
entire system GeoNode 2.4:


Creating a backup
=================

#. Make a backup of the GeoNode database (PostgreSQL needs to be running)::

    sudo -u postgres -i pg_dump -c -Fc geonode > geonodedb.backup

#. Stop all services::

    sudo /etc/init.d/apache2 stop
    sudo /etc/init.d/tomcat6 stop
    sudo /etc/init.d/postgresql-8.4 stop

#. Backup Geonode config & GeoServer data directory::

    tar -cvzf geonodeConfigBackup.tgz /etc/geonode
    tar -cvzf geonodeDataBackup.tgz  /var/lib/geoserver/geonode-data/

#. In addition, any templates, design changes, and/or CSS files will
also need to be captured.

#. Restart all services::

    sudo /etc/init.d/apache2 start
    sudo /etc/init.d/tomcat6 start
    sudo /etc/init.d/postgresql-8.4 start
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20161017/947d5ee2/attachment.html>


More information about the geonode-users mailing list