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

    Are there any downsides to using CBT when doing backups?

    Scheduled Pinned Locked Moved Unsolved Backup
    5 Posts 4 Posters 83 Views 4 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.
    • A
      archw
      last edited by

      I moved over to using CBT this past weekend. It seems much, much, faster and I didnt have a single error. In the past about 20% of my nightly incremental backups had errors like "can't compute delta OpaqueRef:blah-fba0-ced3-7653-blahblah from OpaqueRef:blah-b53d-3935-1af0-blahblah, fall back to a full"

      I have this option "Purge snapshot data when using CBT" set to yes.

      I have both of these options set to no as I don't really fully understand the implications (other than the info bubble 😞
      "Merge backups synchronously "
      "Synchronize snapshots"

      With that said, are there any downsides to using CBT when doing backups?

      Thanks!

      poddingueP 1 Reply Last reply
      Reply Quote 0
      • J
        jr-m4
        last edited by jr-m4

        One potential downside is that CBT makes live-migrations between SRs alot more difficult.

        A 1 Reply Last reply
        Reply Quote 0
        • poddingueP poddingue marked this topic as a question
        • A
          archw @jr-m4
          last edited by

          @jr-m4
          What would you need to do if that were needed??

          1 Reply Last reply
          Reply Quote 0
          • M
            MajorP93
            last edited by

            Last time I tested CBT enabled backups the backup job would sometimes create a full backup for a given VM instead of an incremental one.
            This bug got triggered by live migrations. When a VM got live migrated it got processed as full backup by backup jobs even after "normal" live migrations (no storage live migration).

            1 Reply Last reply
            Reply Quote 0
            • poddingueP
              poddingue Vates 🪐 @archw
              last edited by

              If you do the storage migration from XO, you shouldn't have to do anything.
              XAPI does refuse to move a disk while CBT is on, as @jr-m4 said, but reading XO's code it catches that refusal, turns CBT off on the VM's disks and retries.
              The price to pay is that the next backup of that VM is a full one, and the backup job switches CBT back on. 🤷

              The other trade-offs are in the docs (https://docs.xen-orchestra.com/backups-and-dr/backup-types/incremental_backups#purge-snapshot-data-cbt) : NBD has to be enabled, snapshot retention has to be 0, and since the purged snapshot only keeps metadata you can't roll back to it.

              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