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

    Full backups: Why is it not possible to use NBD on full backups ?

    Scheduled Pinned Locked Moved Unsolved Backup
    3 Posts 2 Posters 53 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.
    • P Online
      pedro
      last edited by

      Hello forum...

      On delta backups we can use CBT and NBD to speed backups. Why is it not possible to use NBD on full backups ?
      just curious...

      Thank you,
      Pedro

      poddingueP 1 Reply Last reply Reply Quote 0
      • poddingueP Online
        poddingue Vates πŸͺ @pedro
        last edited by

        From reading the code with bad glasses rather than from knowing (out of my league, by far πŸ˜‰) : my partial understanding is that full and incremental backups don't leave the host by the same route.
        FullXapi.mjs calls VM.export once and gets back a single XVA tar archive for the whole VM, while the incremental runner calls exportIncrementalVm per disk, and it's that per-disk call that carries the preferNbd option. Grep preferNbd across @xen-orchestra/backups and you get five files, all of them on the incremental side.

        So my guess, and it' a wild one, is that the two shapes just don't fit: NBD hands you one VDI at a time, and a full backup is asking for the whole VM in one archive.

        I've no idea whether anyone has looked at changing that, so might be worth a mention to @Team-XO-Backend, who would actually know.

        P 1 Reply Last reply Reply Quote 0
        • poddingueP poddingue marked this topic as a question
        • P Online
          pedro @poddingue
          last edited by

          That should be it, tks @poddingue

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better πŸ’—

          Register Login
          • First post
            Last post