<div dir="ltr"><br><br>On Friday, July 3, 2015, Tom Krones &lt;<a href="mailto:tkrones@gmail.com" target="_blank">tkrones@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span><div>Thanks Daniel.</div>
<div><br></div>
<div>Cool.  Looks like exporting/importing the device IDs is easy but how do I handle the exporting/importing of the Applications, Variants, Application ID, Master Secret, Certificates, etc?  I was hoping to be able to spin up a new server, copy over all the data and then using DNS reroute the traffic from the old server to the new server.  I don’t totally have a handle on what I need to do to move all the information to a new server.</div>
<div><br></div>
<div>I tried the migration guide (aka update guide) yesterday and failed.  From what I read in the migration download readme, I don’t need to do anything to the DB if I’m already running 1.0.1 (right?) but when I tried to replace the WAR files openshift wouldn’t let me or at least I couldn’t figure out how.  :(  I’m not sure Openshift will let you edit the code if you use one of the OpenShift Online Cartridges, right?</div></span></blockquote><div><br></div><div>Hi,</div><div><br></div><div>there is no exprt of the entire app and its variants. I&#39;d do the following:</div><div>* note down the PushAppID:MasterSecrete and the different VariantIDs:Secrets</div><div>* export the device metadata</div><div>* delete the openshift instance</div><div>* create a new (will now use 1.0.3), using the same name (that ensures the URL stays - no need to do some redirects via DNS)</div><div>* manually setup Push App / Variants</div><div>* import the Devices</div><div><br></div><div>Now - a little &quot;hack&quot; go to the Openshift console and add the PHP my Admin, and then go to the database, and change the PushAppID:MasterSecrete as well as all the different VariantIDs:Secrets to their original values.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>
<br>Tom</div>
<br><br><div class="gmail_quote"><p>On Fri, Jul 3, 2015 at 3:25 PM, Daniel Passos <span dir="ltr">&lt;<a>dpassos@redhat.com</a>&gt;</span> wrote:<br></p><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>
<div dir="ltr">
<div>Hi Tom,<br><br></div>I think you can start trying import/export your database from UPS[1], and taking a look on or migration tools[2] for upgrade version.<br><br>[1] <a href="https://aerogear.org/docs/unifiedpush/ups_userguide/index/#_exporting_installations" target="_blank">https://aerogear.org/docs/unifiedpush/ups_userguide/index/#_exporting_installations</a><br>[2] <a href="https://aerogear.org/docs/unifiedpush/ups_userguide/index/#migration-guide" target="_blank">https://aerogear.org/docs/unifiedpush/ups_userguide/index/#migration-guide</a><br></div>
<div class="gmail_extra">
<br><div class="gmail_quote">On Fri, Jul 3, 2015 at 5:12 PM, Tom Krones <span dir="ltr">&lt;<a>tkrones@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<u></u>
<div>
<span>I want to move all my device ids to a new server (upgrading openshift installation from 1.0.1 to 1.0.3 or 1.1.0 when it’s out).  I have the installation down but I’m not sure how to export/import ids and move the certificates.  Is there a step by step guide for moving servers?  Is it as easy as exporting a few tables from the MySQL DB and importing them into the new MySQL DB?</span><span><font color="#888888"><div>
<br>Tom</div>
</font></span>
</div>
<br>_______________________________________________<br>
Aerogear-users mailing list<br><a>Aerogear-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br><br></blockquote>
</div>
<br><br clear="all"><br>-- <br><div><div dir="ltr">-- Passos<br></div></div>
</div>
</div></blockquote></div><br></blockquote>
</div>