[GeoNode-devel] Backup and restore of Geonode 2.4

ANDRIAMIADANTSOA Fanevanjanahary fanevanjanahary at gmail.com
Wed May 16 03:46:10 PDT 2018


Hello Jonathan,

Maybe this document can help you
https://training.geonode.geo-solutions.it/002_install_and_admin/003_geonode_update/26_to_27/index.html#update-from-geonode-2-6-3-to-geonode-2-7

Faneva

On Wed, May 16, 2018 at 10:35 AM, Dave Kennewell <davekennewell at gmail.com>
wrote:

> Hi Jonathan,
>
> This script is originally for 2.0 but it covered everything I needed to
> backup 2.4. I used a tweaked version many (many) times lol.
>
> https://gist.github.com/jailbirt/4e6d9cc3e58bb2a95429
>
> Hope that helps a bit.
>
> Dave
>
>
> On 16 May 2018 at 11:15, jondoig [via OSGeo.org] <ml+s1560n5364518h73 at n6.
> nabble.com> wrote:
>
>> Hi
>>
>>
>>
>> Transferring our Geonode 2.4 to AWS. How to backup the content and
>> restore to the new instance?
>>
>>
>>
>> The doco and past threads point to builds using Geoserver 2.9 or later,
>> but Geonode 2.4 has Geoserver 2.7.4.
>>
>>
>>
>> I’ve tried pg_dump:
>>
>> /usr/bin/pg_dump geonode --port=5432 --username=postgres --format=t >
>> geonode_ dump.tar
>>
>> /usr/bin/pg_dump geonode_data --port=5432 --username=postgres --format=t
>> > geonode_data_dump.tar
>>
>>
>>
>> Also tarred and transferred the uploaded subfolder
>>
>>
>>
>> That restores OK up to a point:
>>
>>    - geonode lists layers, maps, documents, people, groups
>>    - psql shows the tables are created and have records, both in geonode
>>    and geonode_data
>>
>>
>>
>> But Geoserver reports 0 layers, so maps in Geonode show as pink broken
>> images (“Could not find layer”).
>>
>>
>>
>> Tried ‘python manage.py updatelayers’, but it updated 0 layers.
>>
>>
>>
>> There’s no “find_geoserver_broken_layers” command in manage.py in Geonode
>> 2.4.
>>
>>
>>
>> Do I also need to transfer the content of the GEOSERVER_DATA folder?
>> Trying that next…
>>
>>
>>
>> Jonathan
>>
>> _______________________________________________
>> geonode-devel mailing list
>> [hidden email] <http:///user/SendEmail.jtp?type=node&node=5364518&i=0>
>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://osgeo-org.1560.x6.nabble.com/Backup-and-restore-of-
>> Geonode-2-4-tp5364518.html
>> To unsubscribe from GeoNode, click here
>> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5185390&code=ZGF2ZWtlbm5ld2VsbEBnbWFpbC5jb218NTE4NTM5MHwtOTI1NjEyMTk0>
>> .
>> NAML
>> <http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>


-- 
*Phone: *+261 33 80 555 56
*Mob: *+261 34 14 555 56
*Linkedin: *https://www.linkedin.com/in/fanevanjanahary
<https://www.linkedin.com/in/fanevanjanahary-andriamiadantsoa-52254bb6>
*Twitter: *@fanevanjanahry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180516/3fb941a3/attachment-0001.html>


More information about the geonode-devel mailing list