<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I'm sorry I have to clarify myself: I meant exporting via midPoint,
    i.e. "Export all objects" in Configuration -> Repository objects.<br>
    You can then inspect generated XML and do any fixes you need
    manually (if needed).<br>
    <br>
    Before importing, I'd delete automatically generated connector
    objects from MariaDB, so the only ones left would be imported ones.<br>
    <br>
    Best regards,<br>
    Pavol<br>
    <br>
    On 04.08.2016 9:11, Pavol Mederly wrote:<br>
    <blockquote
      cite="mid:fb2d7295-7d35-021a-29e4-a0696d2d79e8@evolveum.com"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <p>Hello Aivo,</p>
      <p><br>
      </p>
      <p>one of possible ways is to export all objects from H2 and
        re-import them to MariaDB. <br>
      </p>
      <p>Beware of encrypted data compatibility - it's probably good
        idea to copy midPoint keystore before first start of midPoint in
        MariaDB.<br>
      </p>
      <p><br>
      </p>
      <p>Best regards,<br>
      </p>
      <pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
      <div class="moz-cite-prefix">On 04.08.2016 9:08, Aivo Kuhlberg
        wrote:<br>
      </div>
      <blockquote cite="mid:1470294490441.44264@rmit.ee" type="cite">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        <style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
        <p>I have so far used midPonit with embedded H2 database but now
          plan to move to MariaDB. I can set up my test environment
          again from scratch but it would be much easier to migrate
          existing data to another database. Is there a (not too
          complicated) way to migrate current midPoint data to another
          database?<br>
        </p>
        <p><br>
        </p>
        <p>Thanks,<br>
          Aivo Kuhlberg<br>
        </p>
        <br>
        <hr> <font face="Arial" color="Gray" size="2">Käesolev e-kiri
          võib sisaldada asutusesiseseks kasutamiseks tunnistatud
          teavet.<br>
          This e-mail may contain information which is classified for
          official use.</font> <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
midPoint mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>