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