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

    Delta backup fails on SMB remote

    Scheduled Pinned Locked Moved Unsolved Xen Orchestra
    25 Posts 6 Posters 5.2k Views 3 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
      johnarvid @DeOccultist
      last edited by

      @deoccultist Thanks for the reply.
      I have tried all the steps that @julien-f suggested to you in the last post in your topic.
      Guess I have to wait until they have something new I should try.

      1 Reply Last reply Reply Quote 0
      • J Offline
        johnarvid
        last edited by

        I have tested with a clean install of xcp-ng with the latest patches. (Just to make sure it was nothing there causing a problem)
        But the issue is still there.

        1 Reply Last reply Reply Quote 0
        • J Offline
          johnarvid
          last edited by

          I can add information that using a share on windows 10 as remote causes this error.
          But using samba on linux with this config is ok:

          [global]
            workgroup = BERG
            server string = ember
            security = user
            guest ok = no
            map to guest = Bad Password
            log file = /var/log/samba/%m.log
            max log size = 50
            printcap name = /dev/null
            load printers = no
            min protocol = SMB2
            ntlm auth = yes
          
          [localNetwork]
            comment = Local Network Storage
            path = /mnt/storage/localNetwork
            browsable = yes
            read only = no
            guest ok = no
            valid users = local,john-arvid
            force group = samba
            force user = local
          
          
          1 Reply Last reply Reply Quote 1
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            So could it be permission related on Windows share? 🤔

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              DeOccultist @olivierlambert
              last edited by

              @olivierlambert I don't think it's a permission error since the same Windows Server 2019 SMB share works fine with full back ups.

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

                That's because delta is using temporary files named with a dot first. Maybe something causing a problem on your share?

                V 1 Reply Last reply Reply Quote 0
                • V Offline
                  vbits @olivierlambert
                  last edited by

                  @olivierlambert Hi, sorry for writing here but I didn't want to open a topic just out of curiosity/doubt.
                  I have been reading the backup documentation in XOA and it says that they don't advise backups with SMB if the VMs are bigger than 50GB. Why?
                  I have configured 2 different backups and I noticed that with SMB is much faster than with NFS... how is it possible? but in the end as you say that it is not recommended I have left the NFS.

                  0c3665fa-1cf9-412b-892b-dd26139aeee3-image.png

                  DarkbeldinD 1 Reply Last reply Reply Quote 1
                  • DarkbeldinD Offline
                    Darkbeldin Vates 🪐 Pro Support Team @vbits
                    last edited by Darkbeldin

                    @vbits Hi,
                    Mostly because NFS offer better speed than SMB with small and medium files, but depending on the storage type SMB can be necessary, for your test result difficult to say it's a full backup personally I have this kind of speed with NFS:
                    ba99ac6c-4cb7-4741-851b-f26933e010b6-image.png
                    What's the appliance behind your remote?

                    V 1 Reply Last reply Reply Quote 0
                    • V Offline
                      vbits @Darkbeldin
                      last edited by

                      @Darkbeldin I did a lot of tests months ago, changed the NFS from 3 to 4.1 as well and never managed to match the speed of SMB.

                      "What's the appliance behind your remote?"
                      I'm sorry, but I don't understand the question...
                      you mean what kind of external Storage for backups? truenas on a NexentaStor SC216.

                      DarkbeldinD 1 Reply Last reply Reply Quote 0
                      • DarkbeldinD Offline
                        Darkbeldin Vates 🪐 Pro Support Team @vbits
                        last edited by

                        @vbits said in Delta backup fails on SMB remote:

                        NexentaStor SC216

                        Yes that was the question 😉 If you have better speed with SMB stay with it NFS should be better in theory but sometime you have to go with real world reality.

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