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

    Our future backup code: test it!

    Scheduled Pinned Locked Moved Backup
    128 Posts 10 Posters 7.4k Views 11 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
      manilx @florent
      last edited by

      @florent https://xcp-ng.org/forum/topic/10857/suddenly-backup-ends-but-tasks-remain-in-task-list/4

      Rolled back and will stay there until this is fixed. Gave me heart attack....

      1 Reply Last reply Reply Quote 0
      • florentF Offline
        florent Vates πŸͺ XO Team
        last edited by

        PR for unclosd task should reach master today
        https://github.com/vatesfr/xen-orchestra/pull/8590

        @Tristis-Oris vould you share ( by direct message if you prefer ) the rapport of the failed replication ?

        fbeauchamp opened this pull request in vatesfr/xen-orchestra

        closed fix(@xen-orchestra/xapi): really stop xapi task #8590

        Tristis OrisT A M 4 Replies Last reply Reply Quote 1
        • Tristis OrisT Offline
          Tristis Oris Top contributor @florent
          last edited by

          @florent https://pastebin.com/vhLXZ94F

          florentF 1 Reply Last reply Reply Quote 1
          • florentF Offline
            florent Vates πŸͺ XO Team @Tristis Oris
            last edited by florent

            @Tristis-Oris thanks, but it is marked as a private pastebin

            Tristis OrisT 1 Reply Last reply Reply Quote 0
            • Tristis OrisT Offline
              Tristis Oris Top contributor @florent
              last edited by Tristis Oris

              @florent weird.. it say Pending Moderation. log is too huge to post here.

              check pm. it should work.

              1 Reply Last reply Reply Quote 0
              • A Offline
                Andrew Top contributor @florent
                last edited by

                @florent On a quick CR test, fix_nbd_progress works correctly for me.

                1 Reply Last reply Reply Quote 2
                • A Offline
                  Andrew Top contributor @florent
                  last edited by

                  @florent I have the current master (9a833) running now and it's working so far. No change in speed at this time (just testing CR delta).

                  I did notice that the active tasks show only one Export/NBD but I have 4 configured. I don't know if this is a task view issue (I guess I only need to see one) or a true 1x NBD export.

                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    flakpyro @Andrew
                    last edited by

                    @florent Installed in the same test environment as last week, this time the backup ran successfully and the tasks cleared as usual. I will keep running this build over the next week but so far so good! I should note i am only running Delta backups at home. We use Delta + CR jobs in production at work but that is running full blown XOA. Is the plan to push this to XOA in the next monthly release?

                    1 Reply Last reply Reply Quote 0
                    • Tristis OrisT Offline
                      Tristis Oris Top contributor
                      last edited by

                      Need to restart toolstack on each host after fix. Now all jobs dissapeared.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        manilx @florent
                        last edited by

                        @florent Just updated XO and it ran my nightly backup without issues clearing tasks.
                        Nicely done.

                        1 Reply Last reply Reply Quote 0
                        • florentF Offline
                          florent Vates πŸͺ XO Team
                          last edited by

                          I am happy to hear this . I am working on this code almost full time since december

                          Did you try a restore / file restore to ensure the backups are exactly as intended ?

                          M 2 Replies Last reply Reply Quote 0
                          • Tristis OrisT Offline
                            Tristis Oris Top contributor @Tristis Oris
                            last edited by

                            still not fixed.

                            florentF 1 Reply Last reply Reply Quote 0
                            • M Offline
                              manilx @florent
                              last edited by

                              @florent actually I didn't. Will try and report.

                              1 Reply Last reply Reply Quote 0
                              • florentF Offline
                                florent Vates πŸͺ XO Team @Tristis Oris
                                last edited by

                                @Tristis-Oris said in Our future backup code: test it!:

                                still not fixed.

                                Yes I am working on it ( but still no luck for now)

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  manilx @florent
                                  last edited by

                                  @florent Full VM restore went fine an VM booted.

                                  File restore of a Windows VM does not work. Cannot select any files:

                                  ScreenShot 2025-05-20 at 08.30.41.png

                                  florentF 1 Reply Last reply Reply Quote 0
                                  • florentF Offline
                                    florent Vates πŸͺ XO Team @manilx
                                    last edited by

                                    @manilx said in Our future backup code: test it!:

                                    @florent Full VM restore went fine an VM booted.

                                    File restore of a Windows VM does not work. Cannot select any files:

                                    ScreenShot 2025-05-20 at 08.30.41.png

                                    file level restore can be quite brittle , was it working on this VM with the previous code ?

                                    M 2 Replies Last reply Reply Quote 0
                                    • M Offline
                                      manilx @florent
                                      last edited by manilx

                                      @florent Yes it was, last time I used it. On Linux this VM works fine

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        manilx @florent
                                        last edited by manilx

                                        @florent Where I do have an issue now is with Mirror incremental backup

                                        ScreenShot 2025-05-20 at 09.29.39.png

                                        All VM's have this issue and fail mirror.

                                        Worked fine before the XO update yesterday:
                                        ScreenShot 2025-05-20 at 09.32.09.png

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

                                          @florent Here is the log of the latest mirror job. All VM's are failing.
                                          https://paste.vates.tech/?8b00e8353e4139af#4zVKzqXNcpxA7d9PNehV8w4Xjo45UBj9L1RRa3cgGekC

                                          Guess I'm reverting back.

                                          florentF 1 Reply Last reply Reply Quote 0
                                          • florentF Offline
                                            florent Vates πŸͺ XO Team @manilx
                                            last edited by

                                            @manilx said in Our future backup code: test it!:

                                            @florent Here is the log of the latest mirror job. All VM's are failing.
                                            https://paste.vates.tech/?8b00e8353e4139af#4zVKzqXNcpxA7d9PNehV8w4Xjo45UBj9L1RRa3cgGekC

                                            Guess I'm reverting back.

                                            Did the mirror work after revert ?

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