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

    Backup error with space available

    Scheduled Pinned Locked Moved Xen Orchestra
    ticketclosed
    50 Posts 4 Posters 7.4k 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.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      If you installed XO from our doc, then it's trivial: https://xen-orchestra.com/docs/installation.html#updating

      B 1 Reply Last reply Reply Quote 0
      • B Offline
        Bane @olivierlambert
        last edited by

        @olivierlambert I updated to the master as you mentioned and I still get the http timeout error on 4 of my VM's.

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

          Okay so you are on latest commit? (the commit should be 3ecf099)

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            Bane @olivierlambert
            last edited by

            @olivierlambert

            I'm using the trial with pro support included right now. So, I don't see the commit string in my about section. Is there another way to verify the commit string?

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

              Okay, so go on latest release channel and wait for tomorrow's release to make the update 😉

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                Bane @olivierlambert
                last edited by

                @olivierlambert

                When I run the below, I get destination 'xen-orchestra' already exisits.

                git clone -b latest https://github.com/vatesfr/xen-orchestra

                I'm not an expert so forgive me if this seems like a basic question.

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

                  1. If you use XOA, then you just have to click on "Update" by using the "latest" release channel. No command line.

                  2. If you use XO from the source, then please follow the instructions: https://xen-orchestra.com/docs/installation.html#fetching-the-code

                  B 1 Reply Last reply Reply Quote 0
                  • B Offline
                    Bane @olivierlambert
                    last edited by

                    @olivierlambert

                    Ok, after updating now the backup fails with with:

                    SESSION_AUTHENTICATION_FAILED(root, Authentication failure)

                    I can log into the xcp-ng server with root from the XOA VM. So, I don't understand what is taking place here.

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

                      Are you sure about the password? This error is clearly an auth issue

                      B 2 Replies Last reply Reply Quote 0
                      • B Offline
                        Bane @olivierlambert
                        last edited by Bane

                        @olivierlambert

                        I deleted my server out and re-added it. I no longer have the authentication error. So back to the backup...

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          Bane @olivierlambert
                          last edited by

                          @olivierlambert

                          I still have HTTP timeouts on the backup. The quantity is less however.

                          DanpD 1 Reply Last reply Reply Quote 0
                          • DanpD Offline
                            Danp Pro Support Team @Bane
                            last edited by

                            @Bane Have you tried increasing the timeout length?

                            B 1 Reply Last reply Reply Quote 0
                            • B Offline
                              Bane @Danp
                              last edited by Bane

                              @Danp

                              Yes, that has been done. The most recent builds Olivierlambert suggested have reduced the issue, just not fixed it completely.

                              DanpD 1 Reply Last reply Reply Quote 0
                              • DanpD Offline
                                Danp Pro Support Team @Bane
                                last edited by

                                @Bane Sorry if I wasn't clear. I meant to further increase it from the initial solution provided. What happens if you change 1800000 to 3600000?

                                B 1 Reply Last reply Reply Quote 0
                                • B Offline
                                  Bane @Danp
                                  last edited by

                                  @Danp I've doubled it and I'm retrying the backup.

                                  1 Reply Last reply Reply Quote 0
                                  • B Offline
                                    Bane
                                    last edited by Bane

                                    It looks like changing the time out to 60 minutes has fixed my backup issue. So, the next question.

                                    Is it possible to restore the VM backups to a different install of XCP-NG? I have a single XCP-NG server and would like to re-install XCP-NG and set it up for XCP to be on smaller hard drive and all my VM storage to be on a ZFS RAIDZ1.

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

                                      That's one great thing about virtualization and XO backup: it doesn't matter where do you restore your backups. Doesn't matter in terms of hardware, storage, network.

                                      You can restore all your backup on freshly installed machines or old stuff, regardless what's inside.

                                      B 2 Replies Last reply Reply Quote 0
                                      • B Offline
                                        Bane @olivierlambert
                                        last edited by

                                        @olivierlambert

                                        Where would the timeout fix be applied in community edition? There is not a /etc/xo-server directory.

                                        Thanks,

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          Bane @olivierlambert
                                          last edited by

                                          @olivierlambert I'm also trying to restore the VM's that were successfully backed up. I have two that fail to restore and give the error:

                                          IMPORT_ERROR_PREMATURE_EOF()

                                          What can I do to determine what this failure means? I found a previous entry about disk space, but I do not have any disk usage issues that I can see.

                                          Filesystem          Size  Used Avail Use% Mounted on
                                          devtmpfs            2.8G   12K  2.8G   1% /dev
                                          tmpfs               2.8G  268K  2.8G   1% /dev/shm
                                          tmpfs               2.8G   10M  2.8G   1% /run
                                          tmpfs               2.8G     0  2.8G   0% /sys/fs/cgroup
                                          /dev/nvme0n1p1       18G  1.9G   15G  12% /
                                          xenstore            2.8G     0  2.8G   0% /var/lib/xenstored
                                          /dev/nvme0n1p5      3.9G   83M  3.6G   3% /var/log
                                          /dev/nvme0n1p4      512M  3.0M  509M   1% /boot/efi
                                          tmpfs               571M     0  571M   0% /run/user/0
                                          tank                4.3T  256K  4.3T   1% /tank
                                          tank/local-store    4.3T   17G  4.3T   1% /tank/local-store
                                          //192.168.2.15/iso   22T   15T  6.5T  70% /run/sr-mount/39ac011c-a02a-d9bb-0fef-7fffebbefacc
                                          
                                          

                                          Thanks

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

                                            1. It's not a fix, it's just a workaround. It's not normal to have this kind of timeout 😕
                                            2. IMPORT_ERROR_PREMATURE_EOF() means the backup is maybe incomplete or import stalled
                                            B 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post