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

    Incremental backup - force full backup

    Scheduled Pinned Locked Moved Xen Orchestra
    6 Posts 2 Posters 443 Views 1 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.
    • ForzaF Offline
      Forza
      last edited by

      Hi!

      There are two options to force full backup when creating incremental backups:

      befd3ea2-a20e-4179-8aae-252d456582b8-image.png

      6c2d80d6-653b-4fba-856e-03a87babc0f0-image.png

      It would be good if it was possible to use zstd with these options, just like it is for regular backup jobs:
      406de85a-7ce8-443b-a77e-b8c8f07442fc-image.png

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

        Hi,

        This is not possible to mix compression with delta backup, at least at the moment.

        Unlike "normal" backups (XVAs) we have to read and mostly write blocks inside the full to do the merge. So it means, at some point, uncompressing the full to read/write inside it, then re-compress.

        This is sub-optimal.

        ForzaF 1 Reply Last reply Reply Quote 0
        • ForzaF Offline
          Forza @olivierlambert
          last edited by

          Understood. It would be good for the future though. Could it be handled separately like the normal backups are done?

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

            But how to coalesce the oldest delta into the merge then? This will require to decompress the whole full 😕 This is a bit defeating the purpose of compression.

            ForzaF 1 Reply Last reply Reply Quote 0
            • ForzaF Offline
              Forza @olivierlambert
              last edited by

              olivierlambert said in Incremental backup - force full backup:

              But how to coalesce the oldest delta into the merge then? This will require to decompress the whole full 😕 This is a bit defeating the purpose of compression.

              Ah I see. Forgot about this. So the "full" in a delta backup means a new base image to base the next incrementals on? I understand then that it will not be possible to compress this type of full backup. I had thought it was similar to an independent full backup, which of course isn't the case. Thanks.

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

                That's correct. It's the new "reference" for the following delta, so we need to be able to read the full when we restore the backup (or a file) or when we coalesce (when reaching the retention).

                That's why compressing the full isn't trivial.

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