NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
whc
Nov 02, 2019Aspirant
Rebuilding shares using SSH possible?
Just mistakenly deleted shares when I deleted stuck snapshots using SSH, is it possible to rebould those shares with SSH, have taken screenshot, so have the ID and gen numbers, maybe a SSH command can do the job?
12 Replies
Replies have been turned off for this discussion
- SandsharkSensei
Do you mean rebuild them with their contents intact? BTRFS RESTORE sounds like it should be able to, but I've not used it.
Step one is to get your NAS into read-only mode pronto so that nothing gets overwritten.
Then, you can start investigating here: https://superuser.com/questions/415132/how-to-undelete-files-on-btrfs-partition
- whcAspirant
How to enable read only mode?
- SandsharkSensei
From the boot menu: How-do-I-access-the-boot-menu-on-my-ReadyNAS-316-516-716
Of course, once you are ready to start, it'll have to be out of read-only mode to do the actual recovery.
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!