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

    Backup validation/verification

    Scheduled Pinned Locked Moved Xen Orchestra
    2 Posts 2 Posters 154 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.
    • A Offline
      Andrew Top contributor
      last edited by

      @olivierlambert @julien-f
      Is there a way to force a manual or an automated job to validate delta backups (on S3 or other storage)?

      Yes, I could just restore it but I actually want to "restore" it to /dev/null and make sure that all checksums/hashes and all needed merges are working and valid. Yes, I understand that it could require reading all the data (optionally? or just checksums) and will take a while per-VM. Yes, I could just run a full restore but a data validation would be quicker and not use storage local space.

      I would think it would start with validating the full backup and then making sure each delta would merge into the last. Can it be done without actually holding the full backup locally and without creating a new full backup copy remotely? I guess you could locally hold the delta merges vs. the full so the local dataset would grow but not as large as a full backup.

      I have seen delta backups (or merges) fail and leave the backup chain corrupted.

      This is the same idea as writing to tape and then rewinding so you can read it back and verify that the backup data is valid.

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

        Backup autorestore for basic tests is already planned and should be out this quarter 🙂 @florent is the one working on it (he started to do some basic tests).

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