[GeoNode-users] Backup/Restore of GeoNode 2.4.1
Mike Waters
mwaters at digitalglobe.com
Sat Feb 25 16:21:55 PST 2017
Great info!
Thanks, I will try this out.
-Mike
Get Outlook for Android<https://aka.ms/ghei36>
On Fri, Feb 24, 2017 at 2:32 AM -0700, "Alessio Fabiani" <alessio.fabiani at geo-solutions.it<mailto:alessio.fabiani at geo-solutions.it>> wrote:
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
https://github.com/GeoNode/geonode/tree/2.6.x/geonode/base/management/commands
and follow the procedure via command line described on the documentation here
http://docs.geonode.org/en/master/tutorials/admin/backup_restore/
Best Regards,
Alessio Fabiani.
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani
@alfa7691
github<https://github.com/afabiani?tab=overview>
Founder/Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 331 6233686
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
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.
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.
---------------------------------------------------------------------
On Fri, Feb 24, 2017 at 10:20 AM, Toni Schönbuchner <toni.schoenbuchner at csgis.de<mailto:toni.schoenbuchner at csgis.de>> wrote:
Hi Mike,
I haven´t tried a full backup and restore but could imagine something like this can work:
1. Backup Postgres (if you use it)
- either with pg_dump (https://www.postgresql.org/docs/9.4/static/app-pgdump.html)
- or as geonode is based on Django with manage.py dropdata https://coderwall.com/p/mvsoyg/django-dumpdata-and-loaddata
- (I would prefere the first way)
2. backup the directories where your files/documents are uploaded to
3. to be save, backup your local_settings and your static_content (from where you serve js,css, ...) directory
4. backup geoserver, maybe it´s already sufficient to backup the workspace in any case have a look at this plugin: http://docs.geoserver.org/latest/en/user/community/backuprestore/index.html
5. backup your apache vhost config.
As written I haven´t tried a full backup / restore thus these steps are nothing more than a presumption ;)
Best,
Toni
Message: 2
Date: Fri, 24 Feb 2017 00:44:49 +0000
From: Jonathan Doig <j.doig at unsw.edu.au<mailto:j.doig at unsw.edu.au>>
To: Mike Waters <mwaters at digitalglobe.com<mailto:mwaters at digitalglobe.com>>,
"'geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>'" <geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>>
Subject: Re: [GeoNode-users] Backup/Restore of GeoNode 2.4.1
Message-ID:
<SY3PR01MB11308E88EFED7B009CAF42BBC4520 at SY3PR01MB1130.ausprd01.prod.outlook.com<mailto:SY3PR01MB11308E88EFED7B009CAF42BBC4520 at sy3pr01mb1130.ausprd01.prod.outlook.com>>
Content-Type: text/plain; charset="utf-8"
Hi Mike
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.
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.
Regards
Jonathan
From: geonode-users [mailto:geonode-users-bounces at lists.osgeo.org] On Behalf Of Mike Waters
Sent: Friday, 24 February 2017 5:30 AM
To: 'geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>'
Subject: [GeoNode-users] Backup/Restore of GeoNode 2.4.1
Hello everyone.
I am a GeoNode newbie - perhaps this answer is obvious but I can't find it.
I have installed GeoNode using the apt packages on Ubuntu 14.04 for playing around/development purposes.
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.
All of the docs at:
http://docs.geonode.org/en/master/tutorials/admin/backup_restore/
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?)
Also the 'How to Backup/Restore with the GUI' section refers to sections of the GUI that do not exist anymore.
Anyone have any guidance on how to do this backup and restore?
Thanks
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.
DigitalGlobe reserves the right to monitor any electronic communication sent or received by its employees, agents or representatives.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170224/094b5241/attachment-0001.html>
------------------------------
Message: 3
Date: Fri, 24 Feb 2017 02:56:34 +0100
From: Alessio Fabiani <alessio.fabiani at geo-solutions.it<mailto:alessio.fabiani at geo-solutions.it>>
To: Jonathan Doig <j.doig at unsw.edu.au<mailto:j.doig at unsw.edu.au>>
Cc: Mike Waters <mwaters at digitalglobe.com<mailto:mwaters at digitalglobe.com>>,
"geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>" <geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>>
Subject: Re: [GeoNode-users] Backup/Restore of GeoNode 2.4.1
Message-ID:
<CAM7ZvL+ppkTO_w7XBg=1P=CP-oR1Exd4MP7kOxVg1OzDHKLbXQ at mail.gmail.com<mailto:CAM7ZvL+ppkTO_w7XBg=1P=CP-oR1Exd4MP7kOxVg1OzDHKLbXQ at mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"
Nope,
the commands are available from branch/tag 2.4.x and more. They are not too
old but too new I'm afraid.
Also you will need to update GeoServer if you need to backup/restore
spatial data too.
Best Regards,
Alessio Fabiani.
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==
Ing. Alessio Fabiani
@alfa7691
github <https://github.com/afabiani?tab=overview>
Founder/Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313<tel:0584%20962313>
fax: +39 0584 1660272<tel:0584%20166%200272>
mob: +39 331 6233686<tel:331%20623%203686>
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*
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.
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.
---------------------------------------------------------------------
On Fri, Feb 24, 2017 at 1:44 AM, Jonathan Doig <j.doig at unsw.edu.au<mailto:j.doig at unsw.edu.au>> wrote:
Hi Mike
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.
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.
Regards
Jonathan
*From:* geonode-users [mailto:geonode-users-bounces at lists.osgeo.org] *On
Behalf Of *Mike Waters
*Sent:* Friday, 24 February 2017 5:30 AM
*To:* 'geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>'
*Subject:* [GeoNode-users] Backup/Restore of GeoNode 2.4.1
Hello everyone.
I am a GeoNode newbie – perhaps this answer is obvious but I can’t find it.
I have installed GeoNode using the apt packages on Ubuntu 14.04 for
playing around/development purposes.
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.
All of the docs at:
http://docs.geonode.org/en/master/tutorials/admin/backup_restore/
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?)
Also the ‘How to Backup/Restore with the GUI’ section refers to sections
of the GUI that do not exist anymore.
Anyone have any guidance on how to do this backup and restore?
Thanks
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.
DigitalGlobe reserves the right to monitor any electronic communication
sent or received by its employees, agents or representatives.
_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-users
_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/geonode-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170226/b31a129f/attachment-0001.html>
More information about the geonode-users
mailing list