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. <span></span><br><br>Il martedì 28 giugno 2016, Eugenio Trumpy <<a href="mailto:frippe12573@hotmail.com">frippe12573@hotmail.com</a>> ha scritto:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Ok, <br>
</p>
<p><br>
</p>
<p>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)?</p>
<p><br>
</p>
<p>E.<br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>Da:</b> Simone Dalmasso <<a href="javascript:_e(%7B%7D,'cvml','simone.dalmasso@gmail.com');" target="_blank">simone.dalmasso@gmail.com</a>><br>
<b>Inviato:</b> martedì 28 giugno 2016 16.18<br>
<b>A:</b> Eugenio Trumpy<br>
<b>Cc:</b> <a href="javascript:_e(%7B%7D,'cvml','geonode-users@lists.osgeo.org');" target="_blank">geonode-users@lists.osgeo.org</a><br>
<b>Oggetto:</b> Re: [GeoNode-users] shorest way to migrate data</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi Eugenio,
<div><br>
</div>
<div>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.</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-06-28 15:07 GMT+02:00 Eugenio Trumpy <span dir="ltr">
<<a href="javascript:_e(%7B%7D,'cvml','frippe12573@hotmail.com');" target="_blank">frippe12573@hotmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi all,</p>
<p><br>
</p>
<p>I have a running test version of genode in a host that includes 38 layer and 9 maps.</p>
<p>Among the 38 layers, 28 were uploaded and 10 came from a registered WMS.</p>
<p><br>
</p>
<p>What is the shorest way to migrate the described layers and maps on another host with a running 2.4.x geonode?</p>
<p>The starting point is a geonode at version<em> 2.4.dev20151029170512.</em></p>
<p><em><br>
</em></p>
<p>Both geonode run on ubuntu server 14.04.</p>
<p><br>
</p>
<p>Thanks</p>
<span><font color="#888888">
<p><br>
</p>
<p>E.<br>
</p>
</font></span></div>
</div>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','geonode-users@lists.osgeo.org');" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div>Simone </div>
</div>
</div>
</div>
</div>
</div>

</blockquote><br><br>-- <br>Simone <br>