<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Hi Mike,</div><div class=""><br class=""></div><div class="">I haven´t tried a full backup and restore but could imagine something like this can work:</div><div class=""><br class=""></div><div class="">1. Backup Postgres (if you use it)</div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>- either with pg_dump (<a href="https://www.postgresql.org/docs/9.4/static/app-pgdump.html" class="">https://www.postgresql.org/docs/9.4/static/app-pgdump.html</a>) </div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>- or as geonode is based on Django with manage.py dropdata <a href="https://coderwall.com/p/mvsoyg/django-dumpdata-and-loaddata" class="">https://coderwall.com/p/mvsoyg/django-dumpdata-and-loaddata</a></div><div class=""><span class="Apple-tab-span" style="white-space:pre">            </span>- (I would prefere the first way)</div><div class="">2. backup the directories where your files/documents are uploaded to</div><div class="">3. to be save, backup your local_settings and your static_content (from where you serve js,css, ...) directory</div><div class="">4. backup geoserver, maybe it´s already sufficient to backup the workspace in any case have a look at this plugin: <a href="http://docs.geoserver.org/latest/en/user/community/backuprestore/index.html" class="">http://docs.geoserver.org/latest/en/user/community/backuprestore/index.html</a></div><div class="">5. backup your apache vhost config.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">As written I haven´t tried a full backup / restore thus these steps are nothing more than a presumption ;)</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Toni</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div>Message: 2<br class="">Date: Fri, 24 Feb 2017 00:44:49 +0000<br class="">From: Jonathan Doig <<a href="mailto:j.doig@unsw.edu.au" class="">j.doig@unsw.edu.au</a>><br class="">To: Mike Waters <<a href="mailto:mwaters@digitalglobe.com" class="">mwaters@digitalglobe.com</a>>,<br class=""><span class="Apple-tab-span" style="white-space: pre;">    </span>"'<a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a>'" <<a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a>><br class="">Subject: Re: [GeoNode-users] Backup/Restore of GeoNode 2.4.1<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space: pre;">   </span><<a href="mailto:SY3PR01MB11308E88EFED7B009CAF42BBC4520@sy3pr01mb1130.ausprd01.prod.outlook.com" class="">SY3PR01MB11308E88EFED7B009CAF42BBC4520@SY3PR01MB1130.ausprd01.prod.outlook.com</a>><br class=""><span class="Apple-tab-span" style="white-space: pre;">  </span><br class="">Content-Type: text/plain; charset="utf-8"<br class=""><br class="">Hi Mike<br class=""><br class="">Not a direct answer I'm afraid, but just to let you know I'm in the same situation and I'll be using ansible to deploy from test to production.<br class=""><br class="">So  far it just covers software and content in our semantic store (which we're integrating with Geonode), but we can add ansible commands to copy geodata from postgres also. Actually my ansible playbooks are available if you're interested let me know and I'll shoot you the link. Not production-ready, but will give you an idea on the ansible approach.<br class=""><br class="">Regards<br class="">Jonathan<br class=""><br class="">From: geonode-users [<a href="mailto:geonode-users-bounces@lists.osgeo.org" class="">mailto:geonode-users-bounces@lists.osgeo.org</a>] On Behalf Of Mike Waters<br class="">Sent: Friday, 24 February 2017 5:30 AM<br class="">To: '<a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a>'<br class="">Subject: [GeoNode-users] Backup/Restore of GeoNode 2.4.1<br class=""><br class="">Hello everyone.<br class=""><br class="">I am a GeoNode newbie - perhaps this answer is obvious but I can't find it.<br class=""><br class="">I have installed GeoNode using the apt packages on Ubuntu 14.04 for playing around/development purposes.<br class=""><br class="">I have prototyped out some good stuff, and want to create a production GeoNode server by just doing a backup and restore of my current installation.<br class=""><br class="">All of the docs at:<br class=""><a href="http://docs.geonode.org/en/master/tutorials/admin/backup_restore/" class="">http://docs.geonode.org/en/master/tutorials/admin/backup_restore/</a><br class="">refer to (I think) legacy commands.  E.g. python manage.py backup (I think the geonode command line replaced the manage.py script recently maybe?)<br class="">Also the 'How to Backup/Restore with the GUI' section refers to sections of the GUI that do not exist anymore.<br class=""><br class="">Anyone have any guidance on how to do this backup and restore?<br class=""><br class="">Thanks<br class=""><br class=""><br class=""><br class=""><br class=""><br class="">This electronic communication and any attachments may contain confidential and proprietary information of DigitalGlobe, Inc. If you are not the intended recipient, or an agent or employee responsible for delivering this communication to the intended recipient, or if you have received this communication in error, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this communication in error, and delete the copy you received.<br class=""><br class="">DigitalGlobe reserves the right to monitor any electronic communication sent or received by its employees, agents or representatives.<br class="">-------------- next part --------------<br class="">An HTML attachment was scrubbed...<br class="">URL: <<a href="http://lists.osgeo.org/pipermail/geonode-users/attachments/20170224/094b5241/attachment-0001.html" class="">http://lists.osgeo.org/pipermail/geonode-users/attachments/20170224/094b5241/attachment-0001.html</a>><br class=""><br class="">------------------------------<br class=""><br class="">Message: 3<br class="">Date: Fri, 24 Feb 2017 02:56:34 +0100<br class="">From: Alessio Fabiani <<a href="mailto:alessio.fabiani@geo-solutions.it" class="">alessio.fabiani@geo-solutions.it</a>><br class="">To: Jonathan Doig <<a href="mailto:j.doig@unsw.edu.au" class="">j.doig@unsw.edu.au</a>><br class="">Cc: Mike Waters <<a href="mailto:mwaters@digitalglobe.com" class="">mwaters@digitalglobe.com</a>>,<br class=""><span class="Apple-tab-span" style="white-space: pre;">   </span>"<a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a>" <<a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a>><br class="">Subject: Re: [GeoNode-users] Backup/Restore of GeoNode 2.4.1<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space: pre;">     </span><<a href="mailto:CAM7ZvL+ppkTO_w7XBg=1P=CP-oR1Exd4MP7kOxVg1OzDHKLbXQ@mail.gmail.com" class="">CAM7ZvL+ppkTO_w7XBg=1P=CP-oR1Exd4MP7kOxVg1OzDHKLbXQ@mail.gmail.com</a>><br class="">Content-Type: text/plain; charset="utf-8"<br class=""><br class="">Nope,<br class="">the commands are available from branch/tag 2.4.x and more. They are not too<br class="">old but too new I'm afraid.<br class=""><br class="">Also you will need to update GeoServer if you need to backup/restore<br class="">spatial data too.<br class=""><br class=""><br class="">Best Regards,<br class="">Alessio Fabiani.<br class=""><br class="">==<br class="">GeoServer Professional Services from the experts!<br class="">Visit <a href="http://goo.gl/it488V" class="">http://goo.gl/it488V</a> for more information.<br class="">==<br class=""><br class="">Ing. Alessio Fabiani<br class="">@alfa7691<br class="">github <<a href="https://github.com/afabiani?tab=overview" class="">https://github.com/afabiani?tab=overview</a>><br class="">Founder/Technical Lead<br class=""><br class="">GeoSolutions S.A.S.<br class="">Via di Montramito 3/A<br class="">55054  Massarosa (LU)<br class="">Italy<br class="">phone: +39 0584 962313<br class="">fax:     +39 0584 1660272<br class="">mob:   +39 331 6233686<br class=""><br class=""><a href="http://www.geo-solutions.it" class="">http://www.geo-solutions.it</a><br class=""><a href="http://twitter.com/geosolutions_it" class="">http://twitter.com/geosolutions_it</a><br class=""><br class="">-------------------------------------------------------<br class=""><br class="">*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*<br class=""><br class="">Le informazioni contenute in questo messaggio di posta elettronica e/o<br class="">nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il<br class="">loro utilizzo è consentito esclusivamente al destinatario del messaggio,<br class="">per le finalità indicate nel messaggio stesso. Qualora riceviate questo<br class="">messaggio senza esserne il destinatario, Vi preghiamo cortesemente di<br class="">darcene notizia via e-mail e di procedere alla distruzione del messaggio<br class="">stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,<br class="">divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od<br class="">utilizzarlo per finalità diverse, costituisce comportamento contrario ai<br class="">principi dettati dal D.Lgs. 196/2003.<br class=""><br class=""><br class=""><br class="">The information in this message and/or attachments, is intended solely for<br class="">the attention and use of the named addressee(s) and may be confidential or<br class="">proprietary in nature or covered by the provisions of privacy act<br class="">(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection<br class="">Code).Any use not in accord with its purpose, any disclosure, reproduction,<br class="">copying, distribution, or either dissemination, either whole or partial, is<br class="">strictly forbidden except previous formal approval of the named<br class="">addressee(s). If you are not the intended recipient, please contact<br class="">immediately the sender by telephone, fax or e-mail and delete the<br class="">information in this message that has been received in error. The sender<br class="">does not give any warranty or accept liability as the content, accuracy or<br class="">completeness of sent messages and accepts no responsibility  for changes<br class="">made after they were sent or for other risks which arise as a result of<br class="">e-mail transmission, viruses, etc.<br class=""><br class="">---------------------------------------------------------------------<br class=""><br class="">On Fri, Feb 24, 2017 at 1:44 AM, Jonathan Doig <<a href="mailto:j.doig@unsw.edu.au" class="">j.doig@unsw.edu.au</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">Hi Mike<br class=""><br class=""><br class=""><br class="">Not a direct answer I’m afraid, but just to let you know I’m in the same<br class="">situation and I’ll be using ansible to deploy from test to production.<br class=""><br class=""><br class=""><br class="">So  far it just covers software and content in our semantic store (which<br class="">we’re integrating with Geonode), but we can add ansible commands to copy<br class="">geodata from postgres also. Actually my ansible playbooks are available if<br class="">you’re interested let me know and I’ll shoot you the link. Not<br class="">production-ready, but will give you an idea on the ansible approach.<br class=""><br class=""><br class=""><br class="">Regards<br class=""><br class="">Jonathan<br class=""><br class=""><br class=""><br class="">*From:* geonode-users [<a href="mailto:geonode-users-bounces@lists.osgeo.org" class="">mailto:geonode-users-bounces@lists.osgeo.org</a>] *On<br class="">Behalf Of *Mike Waters<br class="">*Sent:* Friday, 24 February 2017 5:30 AM<br class="">*To:* '<a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a>'<br class="">*Subject:* [GeoNode-users] Backup/Restore of GeoNode 2.4.1<br class=""><br class=""><br class=""><br class="">Hello everyone.<br class=""><br class=""><br class=""><br class="">I am a GeoNode newbie – perhaps this answer is obvious but I can’t find it.<br class=""><br class=""><br class=""><br class="">I have installed GeoNode using the apt packages on Ubuntu 14.04 for<br class="">playing around/development purposes.<br class=""><br class=""><br class=""><br class="">I have prototyped out some good stuff, and want to create a production<br class="">GeoNode server by just doing a backup and restore of my current<br class="">installation.<br class=""><br class=""><br class=""><br class="">All of the docs at:<br class=""><br class=""><a href="http://docs.geonode.org/en/master/tutorials/admin/backup_restore/" class="">http://docs.geonode.org/en/master/tutorials/admin/backup_restore/</a><br class=""><br class="">refer to (I think) legacy commands.  E.g. python manage.py backup (I think<br class="">the geonode command line replaced the manage.py script recently maybe?)<br class=""><br class="">Also the ‘How to Backup/Restore with the GUI’ section refers to sections<br class="">of the GUI that do not exist anymore.<br class=""><br class=""><br class=""><br class="">Anyone have any guidance on how to do this backup and restore?<br class=""><br class=""><br class=""><br class="">Thanks<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class="">This electronic communication and any attachments may contain confidential<br class="">and proprietary information of DigitalGlobe, Inc. If you are not the<br class="">intended recipient, or an agent or employee responsible for delivering this<br class="">communication to the intended recipient, or if you have received this<br class="">communication in error, please do not print, copy, retransmit, disseminate<br class="">or otherwise use the information. Please indicate to the sender that you<br class="">have received this communication in error, and delete the copy you<br class="">received.<br class=""><br class="">DigitalGlobe reserves the right to monitor any electronic communication<br class="">sent or received by its employees, agents or representatives.<br class=""><br class="">_______________________________________________<br class="">geonode-users mailing list<br class=""><a href="mailto:geonode-users@lists.osgeo.org" class="">geonode-users@lists.osgeo.org</a><br class=""><a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" class="">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><br class=""></blockquote></body></html>