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

    XenServer Backup

    IT Discussion
    9
    185
    74.7k
    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.
    • olivierO
      olivier
      last edited by

      BTW, I made very interesting tests with ZFS on Linux + XOA delta backups.

      Using LZ4 compression is very impressive. Maybe one day integrate the LZ4 compression on the fly into xo-server.

      1 Reply Last reply Reply Quote 1
      • stacksofplatesS
        stacksofplates @DustinB3403
        last edited by

        @DustinB3403 said:

        Well this is one question that has kind of nagged me, how do you protect the Xen Orchestra VM?

        You can't back it up, using it's self.

        You could run it in a container like me and then just clone the container and export it.

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

          What I was planning on doing what at the hypervisor level.

          Since I'm running on Xen, I was going to use NAUBackup to simply export a full on a weekly schedule....

          1 Reply Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates
            last edited by

            @olivier I have a quick question. So I ran an incremental backup. I got the green terminated sign, but there was still a snapshot of the VM left. Does XO need the snapshot to restore the deltas from?

            olivierO 1 Reply Last reply Reply Quote 0
            • olivierO
              olivier @stacksofplates
              last edited by

              @johnhooks The only thing needed is a VDI named "XO_DELTA" something like that (visible in the SR view, in the VDI list).

              And it's only needed to create delta. You don't need anything to import a backup, you can doing on a freshly installed XenServer (that's the point of a backup: to be useful in case you lost everything)

              stacksofplatesS 1 Reply Last reply Reply Quote 1
              • stacksofplatesS
                stacksofplates @olivier
                last edited by

                @olivier said:

                @johnhooks The only thing needed is a VDI named "XO_DELTA" something like that (visible in the SR view, in the VDI list).

                And it's only needed to create delta. You don't need anything to import a backup, you can doing on a freshly installed XenServer (that's the point of a backup: to be useful in case you lost everything)

                Ok ya that's what I saw. It showed it as a snapshot but called XO_DELTA something or other. It didn't delete after the job ran so I didn't know if I needed to keep it or not. Thanks!

                olivierO 1 Reply Last reply Reply Quote 0
                • olivierO
                  olivier @stacksofplates
                  last edited by

                  @johnhooks It stays until the next backup: then it's removed and replaced just after by a new delta snapshot. That's because a delta is always created by making a difference between 2 references (the current VM disk and a snapshot).

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

                    So @olivier is my system not working correctly then?

                    I have no Snapshots of the VM I've been testing the Delta functionality with, nor do I have any additional vdisk.

                    olivierO 1 Reply Last reply Reply Quote 0
                    • olivierO
                      olivier @DustinB3403
                      last edited by

                      @DustinB3403 Hmm. You should have a VDI snapshot somewhere in your SR view (that's not visible inside the VM view, only on the SR one)

                      1 Reply Last reply Reply Quote 0
                      • stacksofplatesS
                        stacksofplates
                        last edited by

                        I just ran a test Delta Backup and here's the disk

                        0_1452537816861_Screenshot 2016-01-11 at 1.42.29 PM.png

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

                          You mean in the target repository correct?

                          Which I have 0_1452537852062_XenCenter_2016-01-11_13-44-04.png

                          So I do have a VDI in there, but nothing shows within XC.

                          Which is what I thought you meant (and @johnhooks)

                          olivierO 1 Reply Last reply Reply Quote 0
                          • olivierO
                            olivier @DustinB3403
                            last edited by olivier

                            @DustinB3403 No inside the SR (the XenServer SR)

                            edit: the SR where reside your VM disks

                            DustinB3403D 1 Reply Last reply Reply Quote 0
                            • stacksofplatesS
                              stacksofplates
                              last edited by

                              Under the main view for the actual hypervisor in XO, if you look at the storage section and then click on the repository that holds the VHDs. It will list all of the drives. They should be in there.

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

                                @olivier OK yeah I do have those.

                                olivierO 1 Reply Last reply Reply Quote 0
                                • olivierO
                                  olivier @DustinB3403
                                  last edited by

                                  @DustinB3403 So everything is fine 🙂

                                  1 Reply Last reply Reply Quote 0
                                  • stacksofplatesS
                                    stacksofplates
                                    last edited by

                                    Here's another question, since they are deltas, are they thin provisioned or is it a full copy of the VM. For example, a 300GB file server disk, is the XO_DELTA... drive a full 300GB like it says or only the changed amount?

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

                                      Now if only @olivier would stop hiding all of the critical information we'd all be better off!

                                      😛 😄

                                      😉

                                      1 Reply Last reply Reply Quote 0
                                      • olivierO
                                        olivier @stacksofplates
                                        last edited by

                                        @johnhooks Depends of your XenServer SR type, not related to XO.

                                        • LVMoiSCSI: thick provisioned (not for Dundee IIRC)
                                        • NFS: thin pro
                                        • Local LVM SR: thick pro
                                        stacksofplatesS 1 Reply Last reply Reply Quote 1
                                        • stacksofplatesS
                                          stacksofplates @olivier
                                          last edited by

                                          @olivier said:

                                          @johnhooks Depends of your XenServer SR type, not related to XO.

                                          • LVMoiSCSI: thick provisioned (not for Dundee IIRC)
                                          • NFS: thin pro
                                          • Local LVM SR: thick pro

                                          Ok so it could potentially be the full size. I just wondered because if you don't have a ton of space you would need to make sure you have enough for the backups to keep those delta drives.

                                          Like if you've got 400GB of space and have a 300GB VM that's nearly full, you might not be able to do the delta backup since it needs to keep that extra 300GB drive. Does that sound correct?

                                          olivierO 1 Reply Last reply Reply Quote 0
                                          • olivierO
                                            olivier @stacksofplates
                                            last edited by

                                            @johnhooks Sadly yes. That's the usual problem with thick pro storage. That's why NFS is always a good idea for shared SR.

                                            I have to make some test to check how Dundee behave now with Local LVM and LVMoiSCSI.

                                            stacksofplatesS scottalanmillerS 2 Replies Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 9 / 10
                                            • First post
                                              Last post