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

    XO rebooted, remotes lost, unable to add back

    Scheduled Pinned Locked Moved Xen Orchestra
    16 Posts 2 Posters 1.3k Views 2 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.
    • J Offline
      justjosh @olivierlambert
      last edited by

      Old XO as in version that is "broken". In any case the xo-server version is 5.52.1

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

        We usually talk in commit number now. Also check the big yellow warning here: https://xen-orchestra.com/docs/community.html#report-a-bug

        You should at least install a fresh one on the side, import the config and check the behavior. It's dangerous to keep an old XO version.

        J 1 Reply Last reply Reply Quote 0
        • J Offline
          justjosh @olivierlambert
          last edited by justjosh

          @olivierlambert I spun up a fresh install on XO with the latest commit in master, imported the config from the old XO and now the GUI is stuck in a perpetual reload of "still loading". No error printed in the console.

          Edit: Found the issue in the journal, it was trying to auth with the old credentials that was no longer valid with imported config. Might want to consider forcing a relogin after config import

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

            Ah yes, it's something that could happen, in that case, using the browser private mode or removing your cookie helps 🙂

            J 1 Reply Last reply Reply Quote 0
            • J Offline
              justjosh @olivierlambert
              last edited by

              Yup. I managed to clear out the session. So the next step would be to disable the backups on the old XO and enable it on the new XO and observe one backup cycle for any issues?

              Btw, is there any way to use the same backup job to backup to two different remotes with different retention count (3/5 days for remote 1/2)? Right now it's on two separate jobs but wondering if there's any new methods since I set it up many years ago.

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

                1. You can indeed "resume" the jobs, but remember it will use the "previous" backup format (which is fine).
                2. Yes, you can have multi remote and multi schedule jobs now.
                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  justjosh @olivierlambert
                  last edited by

                  Where can I find more information about multi schedule? I see the option to add multiple remotes per backup job but under schedule settings the backup retention option seems to apply to the entire backup job or all remotes selected.

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

                    Just create another schedule 🙂 There's a "+" button in the schedule card.

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      justjosh @olivierlambert
                      last edited by

                      But the second schedule still applies to both remotes. I'm trying to have one remote with 3 days retention and the other with 5 but using the same snapshot instance.

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

                        So what you need is more something like backup tiering (or secondary backup). This feature is currently a work in progress by @florent 🙂

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