How to prove that a restore will work

  • Was reading about backing up system disk before OMV7 upgrade.

    A person responding to a question about upgrading commented that you don't have a backup until you can prove you can restore it (paraphrasing, pretty close).

    How does one prove that without practicing by overwriting your working system?

    I could do that, but seems risky. How does one practically do that?

    I have backups already with NTFSclone but haven't tried to restore them.

    Was going to try the OS-backup plugin but wanted to see the advice first.

    I am also going to try it in a virtual machine but that still isn't proof that it will work here, although would be good practice on how to do it.

    Thanks for the advice! Hope you had a good holiday.

    Best

    IMF

  • The way I test my dd backups is to restore them to another disk of identical size.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • To gderf and raulfg3:

    Thanks. So clarifying, you restore to another hard drive (mounted internally or externally, I suppose it doesn't matter), and then replace your current hard drive with the restored one and see if you're back to the same place?

    And do you perform this just once and then assume it will always work, or do this repeatedl?y (surely not with every backup, that would be too much work)

    And you leave the newly restored test disk in there, don't put the old one back?

    In a way seems like might as well just clone the second disk in one step, but I get it, is different than performing full/differential/incremental backups all the time.

    Thanks

    IMF

  • I make automated dd backups of my OMV system disk nightly. To test, every six weeks or so, I restore the most recent backup to another disk, swap that disk with my boot drive, and reboot. If it boots and seems to behave properly, the backup is considered good. I then remove the test restore disk and replace with with the original boot disk.

    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

  • I make automated dd backups of my OMV system disk nightly.

    This automation is interesting.


    Could you share the dd command or the script you use to do this?

    And also, what size will the backup be, compared to the size of the boot disk? Is it 100% of it or is it compressed and how?

  • This automation is interesting.


    Could you share the dd command or the script you use to do this?

    And also, what size will the backup be, compared to the size of the boot disk? Is it 100% of it or is it compressed and how?

    Here is the script I use. The resulting dd image is the same size as the boot disk. I do not compress it.


    --
    Google is your friend and Bob's your uncle!


    OMV AMD64 7.x on headless Chenbro NR12000 1U 1x 8m Quad Core E3-1220 3.1GHz 32GB ECC RAM.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!