XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    warm migration vs broken backup link

    Scheduled Pinned Locked Moved Backup
    5 Posts 3 Posters 46 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      kosa7
      last edited by

      Hello,
      When using warm migration between clusters, a new VM is created with a new UUID and the link to the backup is broken. Missing VM appears in https:x.x.x.x/#/backup/health - is there any way to link the migrated VM to the backups? So that I don't lose the backup retention and can use warm migration at the same time?
      84ad4516-37ff-4723-bfef-7f6c9706c0ff-image.png
      Thanks.

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Online
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Hi,

        Use smart backup to target VMs with tags so you are sure NOT to miss copied VMs (because a copy means a new UUID).

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kosa7 @olivierlambert
          last edited by

          @olivierlambert
          Hello,
          thanks for the answer, I tried it, and maybe I have it set up wrong.
          situation description:
          migrating VM from xsd to xsb cluster:

          1. first I make several test backups, everything is ok
            e0a8430c-0ba1-4e5a-b720-af64961576dc-image.png
            35848972-d050-4b8a-a9ff-6265cd10282a-image.png
          2. then I run a warm migration on the VM with the name: Win_warm_tmp, the migration is completed, the VM starts up, everything is ok.
            7abd30d7-d23c-411e-b64c-6417a76705eb-image.png
          3. I look in backup / health - and I see backups with VM errors
            f44caca3-e12e-4cb7-af10-71a9882f6eae-image.png
            when I look again in the backup job: it already sees the new VM, I can run the backup, and when I have the recovery option, I see the option to recover both the original backups (it works) and the new backups.
            5f824ca0-4c5e-4942-b646-924115c4726f-image.png
            87a37a65-f99b-4af8-bebd-bfd14a2185e9-image.png

          So if I understand correctly:
          is it okay that it is possible to recover the original VM and the new one after warm migration, and is it in different jobs?
          So is it okay that I see Missing VM in "backup health" because the original VM no longer exists? and I just have to be careful not to delete these files?
          Or should the Missing VM not appear in "backup health" at all, and should I only see 1x VM in "backup restore" and the previous backups connected to it? and so do I have something set up incorrectly?
          Thanks.

          lsouai-vatesL 1 Reply Last reply Reply Quote 0
          • olivierlambertO Online
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Question for XO PO, it's already too much details/knowledge for me 😄 Ping @lsouai-vates

            1 Reply Last reply Reply Quote 0
            • lsouai-vatesL Offline
              lsouai-vates Vates 🪐 XO Team @kosa7
              last edited by lsouai-vates

              @kosa7 from what the XO devs told me :
              for now you have to handle it completly manually, since we have separated collection a not a relationnal db...
              You could maybe use a smart mode backup with a VM tag.

              We plan to implement a relational database in the future, which would at least offer the possibility to handle this.

              "Reasonnably :
              warm migration should be more a one off , so the user must handle the consequence.
              If he uses this regularly, he should add a tag to the VM " DBPRODBACKUPPLZ" and then configure his job to use this tag"

              FYI @olivierlambert

              1 Reply Last reply Reply Quote 0
              • First post
                Last post