<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p> </p>
    Hi Dan,<br>
    <p> <br>
      i would prefer doing backups/migrations/clonings with rsync via
      the cli.<br>
      Itīs quite simple and reliable.<br>
      We use some skripts, one like this working on a source-masternode:</p>
    <p>##################################################<br>
    </p>
    <p># Backup of a container<br>
    </p>
    <p>/usr/bin/rsync -arvlh --progress --delete --links --hard-links
      --perms --owner --group --devices --times \<br>
      --exclude=/VE-ID/backup \<br>
      /vz/private/VE-ID -e ssh target-masternode:/vz/private/<br>
      |tee `date +%d-%m-%Y`.VE-ID.log<br>
    </p>
    <p># Backup of a containers conf-file<br>
      /usr/bin/rsync -arvlh --progress --delete --links --hard-links
      --perms --owner --group --devices --times \<br>
      /etc/vz/conf/106.conf -e ssh target-masternode:/etc/vz/conf/</p>
    <p>###################################################<br>
    </p>
    <p>If the VPS is online with databases, we do the syncing of the
      filesystem twice.<br>
      Of course we use key-based logins, so we can do the whole job with
      skripts and cronjobs.<br>
      tee writes the output in a logfile, so there is a simple kind of
      controlling. A second part of the skript sends this log to our
      support or to the customer.</p>
    <p>Possible problems are running MySQL-databases with large ibdata
      or logs, io-bottlenecks with the disks or with switch or nics and
      so on. <br>
    </p>
    Hope this  helps a little,<br>
    cheers<br>
    Uwe
    <div class="moz-cite-prefix">Am 25.05.2016 um 00:59 schrieb Dan
      Porter:<br>
    </div>
    <blockquote
cite="mid:CAPrMr02v-Pp3ArbsfF3gZcydLpO93aqUztFUtncWjhtf1ZMdFw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Is there a procedure for cloning a VPS, either locally or
          on another Aventurine server?  I am fully aware that steps
          must be taken to avoid IP conflicts but I suspect there is
          more to it.  My recent failed attempt involved trying to
          restore a VPS backup from one container to another locally by
          renaming the container directory and modifying the conf files
          containing the IP addresses - then using the Aventurine
          restore function.   </div>
        <div><br>
        </div>
        <div>Next question.  My Aventurine backup procedure uses Rsync
          and I know that Rsync does not keep the immutable flag bit.  
          That would mean that files like php.ini would not retain this
          bit during a restore.   Is there a procedure to accommodate
          this? </div>
        <div><br>
        </div>
        <div>Last question is that during my failed restore attempt,
          using the Aventurine restore feature, the entire backup files
          were deleted as part of the restore process.   This was an
          unwelcome surprise.   I am wondering if this is by design
          since I can not see the logic of deleting backup files even
          after they have been restored.  Did I miss an option during
          the restore that would have kept the VPS backup files after
          the restore was completed?</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <br clear="all">
        <div>
          <div class="gmail_signature">Dan Porter<br>
            Twin Wolf Technology Group, LLC<br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Blueonyx mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a>
<a class="moz-txt-link-freetext" href="http://mail.blueonyx.it/mailman/listinfo/blueonyx">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>