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

    backup deleting manual snapshots

    Scheduled Pinned Locked Moved Backup
    6 Posts 2 Posters 205 Views 2 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.
    • M Offline
      manilx
      last edited by manilx

      Now this is weird.

      I created some snapshots before modifying some settings on some VM's. While I was testing stuff a scheduled (NBD+CBT) backup run.

      After a while I wanted to revert to my snapshot and I realized that they were gone on some VM's (not all I snapshoted and that were backup up'ed). Only the respective delta snapshot remained.
      What the heck???

      Xen Orchestra, commit 02f34
      Master, commit c7ddf

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        manilx @manilx
        last edited by

        @manilx Tried to disable NBD/CBT and retried. Same issue.
        A few VM's delete the manual snapshots right before the backup job (of this VM) finishes.

        ?????

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

          Hi,

          You mean snapshots created "manually" right? XO will never remove those automatically, backup snaps are clearly "painted" and if they are not, they won't be removed 🤔

          edit: you can check the audit log of XAPI (in the host /var/log) to try to check from where the snapshot removal was requested. If it's from XO, it doesn't tell if it was removed manually/by mistake or due to a bug.

          M 1 Reply Last reply Reply Quote 0
          • M Offline
            manilx @olivierlambert
            last edited by

            @olivierlambert I created manually backups, yes.

            And they WERE deleted by the delta backup, no doubt about that one. I followed the backup task and when it reached 99% I looked at the VM snapshots and I saw it disappearing, when the task completed (this on all affected VM's).

            This happened on 3 of 10 VM's, repeatably.

            I then created a test task and this did not happen.
            So I recreated the task with all the same settings: All went OK, no snaps deleted.

            So I found a workaround to get going again.

            I have the log files if it interests you to check for a bug but I'm not at ease to do it 😉

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

              Okay at least if you can provide a way to reproduce the issue with screenshots, we could probably try to see on our side, and that would be helpful 🙂

              M 1 Reply Last reply Reply Quote 0
              • M Offline
                manilx @olivierlambert
                last edited by

                @olivierlambert If the issue turns up again.... It was a weird one!
                As I deleted the previous backup jobs I can't repeat. Just had to move on.

                Perhaps someone else stumbles upon this and finds this thread......

                I will report if it happens again (will try it wit the new backup)

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