Data recovery exercise

  • I want to do a test run of snapraid's functionality. I have a pool of 5 drives - 4 data, 1 parity. I removed one of the drives, plugged in a blank, new one in its place, and now I want to restore the missing files in the new HDD. How do I do that?


    What I've tried so far is to:

    1. Run Snapraid's diff (correctly shows the missing files), then both fix and undelete. But undelete restores them in the wrong place - the old drive was mounted in a certain folder, and now that that folder was missing, snapraid recreated it under the root FS. So it ends up restoring under /srv/dev/<drive>, making the root partition run out of space.

    2. Remove the drive from Snapraid's config, but that just makes it complain about the missing drive -

    Disk 'xata2' with uuid 'E692307392304A77' not present in the configuration file!

    If you have removed it from the configuration file, please restore it


    I want to preferably recover the missing files from within the web interface, but I'm comfortable with SSH/console as well.

  • You need to read the SnapRaid documentation:


    https://www.snapraid.it/manual section 4.4 Recovering

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


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

Participate now!

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