[GeoNode-users] shorest way to migrate data

Simone Dalmasso simone.dalmasso at gmail.com
Tue Jun 28 09:08:45 PDT 2016


The problem is with foreign keys to other tables. They might not exist or
be wrong. So either dump the whole db or write a specific procedure that
migrates what you need ensuring to link to the existing data. Like users
for example.

Il martedì 28 giugno 2016, Eugenio Trumpy <frippe12573 at hotmail.com> ha
scritto:

> Ok,
>
>
> since in the 2.4.x instance there are already data, would it convenient to
> perform the dump only on the data (I mean without the schema)?
>
>
> E.
>
>
> ------------------------------
> *Da:* Simone Dalmasso <simone.dalmasso at gmail.com
> <javascript:_e(%7B%7D,'cvml','simone.dalmasso at gmail.com');>>
> *Inviato:* martedì 28 giugno 2016 16.18
> *A:* Eugenio Trumpy
> *Cc:* geonode-users at lists.osgeo.org
> <javascript:_e(%7B%7D,'cvml','geonode-users at lists.osgeo.org');>
> *Oggetto:* Re: [GeoNode-users] shorest way to migrate data
>
> Hi Eugenio,
>
> the data models did not change in October 2015 as we were in feature
> freeze so the easiest thing is to just dump and restore the whole database.
>
> 2016-06-28 15:07 GMT+02:00 Eugenio Trumpy <frippe12573 at hotmail.com
> <javascript:_e(%7B%7D,'cvml','frippe12573 at hotmail.com');>>:
>
>> Hi all,
>>
>>
>> I have a running test version of genode in a host that includes 38 layer
>> and 9 maps.
>>
>> Among the 38 layers, 28 were uploaded and 10 came from a registered WMS.
>>
>>
>> What is the shorest way to migrate the described layers and maps on
>> another host with a running 2.4.x geonode?
>>
>> The starting point is a geonode at version* 2.4.dev20151029170512.*
>>
>>
>> Both geonode run on ubuntu server 14.04.
>>
>>
>> Thanks
>>
>>
>> E.
>>
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> <javascript:_e(%7B%7D,'cvml','geonode-users at lists.osgeo.org');>
>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>
>>
>
>
> --
> Simone
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160628/3486443a/attachment.html>


More information about the geonode-users mailing list