<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span id="result_box" class="" lang="en"><span class="">Hi, It is</span> still
<span class="">validates</span> this configuration to create a backup of your entire system
<span class="">GeoNode 2.4:</span></span><br>
</p>
<p><span class="" lang="en"><span class=""><br>
</span></span></p>
<p><span class="" lang="en"><span class=""></p>
<pre style="word-wrap: break-word; white-space: pre-wrap;">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</pre>
<br>
</span></span>
<p></p>
</div>
</body>
</html>