ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Hyper-V and deleting Snapshots

    IT Discussion
    hyperv snapshots virtualization storage
    6
    41
    8.1k
    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.
    • coliverC
      coliver @DustinB3403
      last edited by coliver

      @DustinB3403 said:

      @coliver So then it would be smart to regularly merge the Hyper-V snapshots to free up space on your server.

      And that seems really odd IMO. . .

      Right... the same as VMWare and I am pretty sure Xen.

      Regardless of Hypervisor it is generally considered a good idea to merge your snapshots (or checkpoints) when you no longer need them. As has been said they shouldn't be used as backup there are much better tools for that.

      1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch @DustinB3403
        last edited by

        @DustinB3403 said:

        I keep 4 backups (4 weeks worth of delta).

        This is where you are wrong. If you were only keeping 4 delta's, you would have no way to restore.

        VM disk file: bob.vhdx - 100GB
        Click snapshot button: bob_s1.ss - 0GB-XXGB growing as the system is used bob.,vhdx stops getting wrote to.
        Click snapshot again: bob_2.ss - 0GB-XXGB growing as the system is used bob_1 stops getting wrote to.

        Click delete on snapshot 2 and it merges the changes back into snapshot 1.
        Click delete on snaphot 1 and it merges the changes back into bob.vhdx.

        bob_s1 and bob_s2 are deltas of things changed since they were created. they are useless for a backup or recovery.

        When you use a backup tool, it makes a snapshot so that the bob.vhdx is no longer being changed in order to let the it be copied off. The backup tools generally then merge the snapshot back in after it is done copying the core virtual disk.

        Thus, there is no possible way that you have valid backups as you describe them. As you use a valid tool to perform your backups, I am sure you actually do have good backups. Just your understanding of the process or ability to describe it is what is lacking.

        dafyreD 1 Reply Last reply Reply Quote 1
        • dafyreD
          dafyre @JaredBusch
          last edited by

          @JaredBusch He's using NAUBackup for his backups... I think it was him that mentioned that in another thread.

          JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 1
          • JaredBuschJ
            JaredBusch @dafyre
            last edited by

            @dafyre said:

            @JaredBusch He's using NAUBackup for his backups... I think it was him that mentioned that in another thread.

            Yes, I know that. And I know what it does. That is why I said I was confident that he had valid backups and was simply having an issue understanding or expressing.

            img

            dafyreD 1 Reply Last reply Reply Quote 0
            • dafyreD
              dafyre @JaredBusch
              last edited by

              @JaredBusch I must have missed a sentence... or post, lol... I think it went in one eye and out the other.

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @DustinB3403
                last edited by

                @DustinB3403 said:

                In xenserver, when I create a snapshot of my VM's they can be used as a complete restore. I export these off-host, and they are now "backups". They are intact backups that I can use at any time to recover a vm at any point in time.

                You are confusing the snapshot with the resulting exported image. The snapshot is a delta and useless. When you export it the system combines the original with the delta to make a useful image. While on the machine the snapshots are not full images on their own.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @DustinB3403
                  last edited by

                  @DustinB3403 said:

                  @coliver So then it would be smart to regularly merge the Hyper-V snapshots to free up space on your server.

                  And that seems really odd IMO. . .

                  Correct, keeping lots of deltas cannot be done without wasting space. It's just impossible not to. Simple physics - two versions of a file take more space than one version.

                  Should not seem odd at all. What makes it odd? Seems totally obvious. How could snapshots not take up some space?

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @dafyre
                    last edited by

                    @dafyre said:

                    @JaredBusch He's using NAUBackup for his backups... I think it was him that mentioned that in another thread.

                    He did, that is what he is using.

                    1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403
                      last edited by

                      It just seems odd how the system keeps the old snapshots. I wasn't aware that is uses each to look for the delta change.

                      The fact that it takes space is obvious.
                      A miscommunication on my part I guess.

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @DustinB3403
                        last edited by

                        @DustinB3403 said:

                        It just seems odd how the system keeps the old snapshots. I wasn't aware that is uses each to look for the delta change.

                        Oh okay, well presumably it keeps them so that you have lots of points to roll back to.

                        dafyreD 1 Reply Last reply Reply Quote 1
                        • dafyreD
                          dafyre @scottalanmiller
                          last edited by

                          @scottalanmiller I think of Snapshots as a quick point-in-time view... if something breaks, I can restore that snapshot in mere seconds, and I'm good to go.

                          If I have to pull a full image from a backup, it could take minutes - hours to restore that backup...

                          1 Reply Last reply Reply Quote 0
                          • 1
                          • 2
                          • 3
                          • 2 / 3
                          • First post
                            Last post