<div dir="ltr"><div>Hello Jonathan,</div><div><br></div><div>Maybe this document can help you <a href="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">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</a></div><div><br></div><div>Faneva<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 16, 2018 at 10:35 AM, Dave Kennewell <span dir="ltr"><<a href="mailto:davekennewell@gmail.com" target="_blank">davekennewell@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">

<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Hi Jonathan, </span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">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. </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><a href="https://gist.github.com/jailbirt/4e6d9cc3e58bb2a95429" style="color:rgb(17,85,204)" target="_blank">https://gist.github.com/jailbi<wbr>rt/4e6d9cc3e58bb2a95429</a><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">Hope that helps a bit.</div>

<br><div>Dave</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 16 May 2018 at 11:15, jondoig [via OSGeo.org] <span dir="ltr"><<a href="mailto:ml+s1560n5364518h73@n6.nabble.com" target="_blank">ml+s1560n5364518h73@n6.<wbr>nabble.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">

        






<div class="m_-5429733772550218546m_-7495334441106151712WordSection1">
<p class="MsoNormal">Hi<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Transferring our Geonode 2.4 to AWS. How to backup the content and restore to the new instance?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The doco and past threads point to builds using Geoserver 2.9 or later, but Geonode 2.4 has Geoserver 2.7.4.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’ve tried pg_dump:<u></u><u></u></p>
<p class="MsoNormal">/usr/bin/pg_dump geonode --port=5432 --username=postgres --format=t > geonode_ dump.tar<u></u><u></u></p>
<p class="MsoNormal">/usr/bin/pg_dump geonode_data --port=5432 --username=postgres --format=t > geonode_data_dump.tar<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Also tarred and transferred the uploaded subfolder<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">That restores OK up to a point:<u></u><u></u></p>
<ul style="margin-top:0cm" type="disc">
<li class="m_-5429733772550218546m_-7495334441106151712MsoListParagraph" style="margin-left:0cm">geonode lists layers, maps, documents, people, groups<u></u><u></u></li><li class="m_-5429733772550218546m_-7495334441106151712MsoListParagraph" style="margin-left:0cm">psql shows the tables are created and have records, both in geonode and geonode_data<u></u><u></u></li></ul>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">But Geoserver reports 0 layers, so maps in Geonode show as pink broken images (“Could not find layer”).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Tried ‘python manage.py updatelayers’, but it updated 0 layers.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">There’s no “find_geoserver_broken_layers” command in manage.py in Geonode 2.4.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Do I also need to transfer the content of the GEOSERVER_DATA folder? Trying that next…<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Jonathan<span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#9e9e9e"><u></u><u></u></span></p>
</div>


<br></div></div>______________________________<wbr>_________________
<br>geonode-devel mailing list
<br><a href="http:///user/SendEmail.jtp?type=node&node=5364518&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="nofollow" link="external" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-devel</a><br>

        
        
        
        <br>
        <br>
        <hr noshade color="#cccccc" size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/Backup-and-restore-of-Geonode-2-4-tp5364518.html" target="_blank">http://osgeo-org.1560.x6.nabbl<wbr>e.com/Backup-and-restore-of-<wbr>Geonode-2-4-tp5364518.html</a>
        </div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from GeoNode, <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5185390&code=ZGF2ZWtlbm5ld2VsbEBnbWFpbC5jb218NTE4NTM5MHwtOTI1NjEyMTk0" target="_blank">click here</a>.<br>
                <a href="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" rel="nofollow" style="font:9px serif" target="_blank">NAML</a>
        </div></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><b style="font-size:12.8px">Phone: </b><span style="font-size:12.8px">+261 33 80 555 56 </span></div><div><b style="font-size:12.8px">Mob: </b><span style="font-size:12.8px">+261 34 14 555 56</span></div><div><b style="font-size:12.8px">Linkedin: </b><a href="https://www.linkedin.com/in/fanevanjanahary-andriamiadantsoa-52254bb6" target="_blank">https://www.linkedin.com/in/fanevanjanahary</a></div><div><b style="font-size:12.8px">Twitter: </b><span style="font-size:12.8px">@fanevanjanahry</span><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:11px;line-height:17px;background-color:rgb(246,246,246)"><br></span></div><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:11px;line-height:17px"><br></span></font><div><font color="#333333" face="Arial, sans-serif"><span style="font-size:11px;line-height:17px"><br></span></font><div><span style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:11px;line-height:17px;background-color:rgb(246,246,246)"><br></span></div></div></div></div></div></div></div>
</div>