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

    Delta backup questions

    Scheduled Pinned Locked Moved Backup
    22 Posts 6 Posters 11.4k 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.
    • D
      DustinB @lawrencesystems
      last edited by

      @lawrencesystems said in Delta backup questions:

      If you choose 2 storage destinations it will copy to each of them at the same time.

      As a discrete backup that is saved to each location individually.

      lawrencesystemsL 1 Reply Last reply
      Reply Quote 1
      • lawrencesystemsL
        lawrencesystems Ambassador @DustinB
        last edited by

        @DustinB said in Delta backup questions:

        As a discrete backup that is saved to each location individually.

        Yes, that is a more accurate statement.

        Also, there is an option for doing Mirrored Backups:
        https://xen-orchestra.com/docs/mirror_backup.html#mirror-backups

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

          @lawrencesystems Thank you for your answer. This is a big problem, because i need to use SAN storage, and so i can have thick VM only. I did not realize that the Snapshots was so big. what a pity...

          D lawrencesystemsL 2 Replies Last reply
          Reply Quote 0
          • D
            DustinB @Matteo
            last edited by

            @Matteo said in Delta backup questions:

            @lawrencesystems Thank you for your answer. This is a big problem, because i need to use SAN storage, and so i can have thick VM only. I did not realize that the Snapshots was so big. what a pity...

            Are you backing up to your primary VM storage location as well? That generally is bad practice if it can be avoided.

            M 1 Reply Last reply
            Reply Quote 0
            • lawrencesystemsL
              lawrencesystems Ambassador @Matteo
              last edited by

              @Matteo
              You can use a SAN shared storage that is thin provisioned such as NFS.

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

                @DustinB no i'm trying a backup via nfs to another storage.

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

                  @lawrencesystems you are right, but i'm using FC to have better performance.

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

                    There's little to 0 difference in perfs between FC, iSCSI and NFS is real world scenario with XCP-ng.

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

                      @olivierlambert Historically we have always used FC even on vmware, but I might consider using NFS. Thanks a lot to everyone

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

                        You won't regret that, NFS is really nice 🙂

                        M 1 Reply Last reply
                        Reply Quote 1
                        • M
                          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
                            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
                              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
                                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
                                  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
                                    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
                                      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
                                        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
                                          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
                                            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

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • First post
                                              Last post