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

    Delta backup questions

    Scheduled Pinned Locked Moved Backup
    22 Posts 6 Posters 5.3k Views 4 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
      Matteo @olivierlambert
      last edited by

      @olivierlambert olivier another (maybe last 😊 ) question, just to understand the difference between thin and thick: If I had a thin VM, taking a snapshot, would it still eats double space? thanks

      DanpD 1 Reply Last reply Reply Quote 0
      • DanpD Offline
        Danp Pro Support Team @Matteo
        last edited by

        @Matteo said in Delta backup questions:

        f I had a thin VM, taking a snapshot, would it still eats double space?

        No, it would only use minimal space for the snapshot.

        1 Reply Last reply Reply Quote 1
        • planedropP Offline
          planedrop Top contributor
          last edited by

          I can confirm NFS is great on XCP-ng, would definitely encourage you got that direction, TBH FC and iSCSI are a tad outdated. There are still good use cases for them but NFS is the thing I'd always aim for in this setup.

          And like @Danp said, if it's thin provisioned, then no it won't be using double the space.

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

            To be fair, the "doubling in space" is only temporary. As soon the snapshot is done, the base copy will be deflated to the really used space in the disk. But yes, the current active disk will be reserving the entire VDI disk size.

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

              But with delta backup in place i have double space allocated still after backup ending. is it normal? thanks

              olivierlambertO 1 Reply Last reply Reply Quote 0
              • M Offline
                Matteo
                last edited by

                e.g.

                f3b009a1-77fa-417e-a7fe-ec272a469204-immagine.png

                This snapshot is here from yesterday. I thought it was deleted when the backup was completed

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

                  @Matteo No, except if your disk is full, deflate won't deflate anything. Also, what you see in XO by default doesn't reflect exactly, it's far more subtle than this. When you make a snap, you have 3 disks (here is thick case):

                  • the base copy (read only, and deflated of the used blocks)
                  • the active disk (full disk size allocated)
                  • the snapshot itself (few KiB, just a pointer in time "linking" to the base copy)

                  Here with the 100GiB drive, if it's used at 50% (let's say), you will have 50GiB for the base copy and 100GiB for the active disk reserved on your thick storage.

                  Regarding the snapshot from yesterday, if the backup is done, you shouldn't have the disk still attached to the control domain.

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

                    @olivierlambert i try to rebuild xo, and make a backup again. thanks to all

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

                      I confirm that snapshots remain after a successful backup. i don't know if this can be a bug related to backup on thick disks.

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

                        Snapshot will stay until the next backup. It's the "point of reference". But it shouldn't stay attached ot the Dom0 after it's done.

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