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

    Xen Orchestra Delta Restore

    IT Discussion
    xen orchestra delta restore xenserver 6.5
    6
    30
    7.6k
    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.
    • DustinB3403D
      DustinB3403
      last edited by scottalanmiller

      So after running a script to make some changes to a VM running on my Production Hypervisor for about 48 hours. I have this VM configured in Xen Orchestra to be Delta'd every 4 hours for simple testing purposes. (Plus it gives me many points to test with). I also have this Delta Depth set to 8 (delta's to keep)

      0_1452259430541_2016-01-08_08-23-43.png

      In this picture note the target VM UUID

      0_1452259636074_2016-01-08_08-26-27.png

      In this picture you can see I have two VM's with the same name, the powered off VM is the original which the Delta's were built from

      0_1452259673080_2016-01-08_08-27-31.png

      Here you can note the UUID of the original VM (it matches what XO has, also note I'm selecting the Powered Off VM)
      0_1452259783596_2016-01-08_08-28-36.png

      Here is the Restored Delta VM, note the uptime and the UUID.

      0_1452259895948_2016-01-08_08-30-38.png

      So this means when the 9th delta is performed it will delete the first Delta.

      Anyways here are some screenshots of the VM (and the files I scripted for generation on a folder on the desktop)

      0_1452259394578_2016-01-08_07-31-54.png

      Here is a screenshot of the restored Delta to the 6th of the month (when I started the Delta Backup)

      0_1452259540608_2016-01-08_08-18-25.png

      So comparing the last two pictures you can see that the restore went as expected. I'll try a more current Delta for a restore and see what happens.

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

        So below is the most recent Delta (the last I made) note the UUID, the Name of the VM (and how there are 3 of them) and the files within the VM.

        0_1452261644570_2016-01-08_08-59-15.png

        0_1452261648602_2016-01-08_08-59-47.png

        So for 100% free, I have delta functionality to restore my choosen VM's on whatever schedule I need. All that is needed is enough capacity to store the Delta backups.

        Which is pretty awesome!

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

          Now my biggest complaint is, from what I can see within XC and XO is there is no easy way to identify when the "restore" has been completed. This is obviously a pain in the ass, but I did notice that when restoring the delta, you can check XC to see if the vDisk has been restored.

          Which is one of the last items to be created from what I've noticed.

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

            Very cool.

            1 Reply Last reply Reply Quote 0
            • DashrenderD
              Dashrender
              last edited by

              Are the deltas from the the previous delta or from the last full backup?

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

                @Dashrender from multiple points during the process. Fulls and Partials result in a restore to that backup. Here's a picture of the CentOS NFS Share that list all that I created for the system.

                0_1452275903217_2016-01-08_12-57-22.png

                DashrenderD 1 Reply Last reply Reply Quote 0
                • RamblingBipedR
                  RamblingBiped
                  last edited by

                  Very cool, thank you for sharing. I still haven't had enough time to sit down and spin up a XO vm at home yet, but your threads on here have been eating away at me to get it done.

                  1 Reply Last reply Reply Quote 2
                  • DashrenderD
                    Dashrender @DustinB3403
                    last edited by

                    @DustinB3403 said:

                    @Dashrender from multiple points during the process. Fulls and Partials result in a restore to that backup. Here's a picture of the CentOS NFS Share that list all that I created for the system.

                    I'm not sure this answers my question.

                    If you took a baseline image/backup 4 hours ago, then took a partial 2 hours ago, then another partial now, would the the second partial backup all of the changes since the baseline 4 hours ago, or from the partial from 2 hours ago?

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

                      @Dashrender You can see in the screenshot above that there are delta's and full backup's created.

                      The partials copy the changes from whenever the full was last created.

                      DashrenderD scottalanmillerS 2 Replies Last reply Reply Quote 0
                      • DashrenderD
                        Dashrender @DustinB3403
                        last edited by

                        @DustinB3403 said:

                        @Dashrender You can see in the screenshot above that there are delta's and full backup's created.

                        The partials copy the changes from whenever the full was last created.

                        OK - thanks.

                        I really like the incremental forever solution I currently have.

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

                          @scottalanmiller maybe I misunderstand it, so I'm asking for your expertise.

                          Wouldn't "Rolling Snapshots" in XO be the Forever incremental that @Dashrender is looking for?

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

                            @DustinB3403 said:

                            @Dashrender You can see in the screenshot above that there are delta's and full backup's created.

                            The partials copy the changes from whenever the full was last created.

                            Calling them partials is really confusing. The industry terms are incrementals and differentials. These would be differentials then. If we use the right terms, there is no ambiguity.

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

                              @DustinB3403 said:

                              @scottalanmiller maybe I misunderstand it, so I'm asking for your expertise.

                              Wouldn't "Rolling Snapshots" in XO be the Forever incremental that @Dashrender is looking for?

                              I've not looked at that feature. Do you have a link to their documentation on it?

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

                                @scottalanmiller https://xen-orchestra.com/blog/xen-orchestra-documentation-2/

                                1 Reply Last reply Reply Quote 0
                                • DashrenderD
                                  Dashrender @scottalanmiller
                                  last edited by

                                  @scottalanmiller said:

                                  @DustinB3403 said:

                                  @Dashrender You can see in the screenshot above that there are delta's and full backup's created.

                                  The partials copy the changes from whenever the full was last created.

                                  Calling them partials is really confusing. The industry terms are incrementals and differentials. These would be differentials then. If we use the right terms, there is no ambiguity.

                                  I used the term partial because until Dustin's post in the XO thread if they were incrementals or differentials.

                                  though as usual, you're right 🙂

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

                                    Here it is. https://xen-orchestra.com/docs/rolling_snapshots.html

                                    This is really what it sounds like and not backups at all. You could use it to build your own backup solution, but on its own it isn't one. It is just snapshots for version rollback locally.

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

                                      Guys,

                                      You should ping me or create GitHub issues when you have concerns, bug report or questions about XO 😉

                                      For the restore without knowing what's happening: I just updated this yesterday, now the VM is named "[Importing...] VMname" until the restore is completed. See https://github.com/vatesfr/xo-web/issues/641

                                      Already closed, so out for 4.12 around Jan 15 🙂

                                      About "Forever forward incremental backup", allowing you to avoid any full export after the initial one, it consists of:

                                      • merging offline (ie: without Xen, by ourselves) the original full backup with its contiguous snaphot
                                      • doing step each time, step by step

                                      So you never need to re-export the full stuff after the first time. A good illustration here, from VEEAM:

                                      This should be out in 4.13 (end of Jan.), 4.12 with some luck.

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

                                        @olivier sorry Olivier we know you're busy, and I'm the defacto "XS Fan here...." so I play with a lot of the fun stuff and post some cool topics.

                                        olivierO 1 Reply Last reply Reply Quote 0
                                        • DashrenderD
                                          Dashrender
                                          last edited by

                                          LOL, just ask and ye shall receive.

                                          Awesome @olivier

                                          1 Reply Last reply Reply Quote 0
                                          • DashrenderD
                                            Dashrender
                                            last edited by

                                            Though a question to Scott's point - are vib files backup files or are they Xen image snaps?

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