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 ca...
whc
Nov 02, 2019Aspirant
btrfs restore, don't understand how to put togheter a command line for restore a share, cannot fint any examples online, below is the options:
btrfs restore [options] <device> <path> | -l <device>
Try to restore files from a damaged filesystem (unmounted)
-s|--snapshots get snapshots
-x|--xattr restore extended attributes
-m|--metadata restore owner, mode and times
-S|--symlink restore symbolic links
-v|--verbose verbose
-i|--ignore-errors ignore errors
-o|--overwrite overwrite
-t <bytenr> tree location
-f <bytenr> filesystem location
-u|--super <mirror> super mirror
-r|--root <rootid> root objectid
-d find dir
-l|--list-roots list tree roots
-D|--dry-run dry run (only list files that would be recovered)
-F force (do not prompt on large files looping frequently)
-X eXtreme search (use both BTRFS_DIR_ITEM_KEY and BTRFS_DIR_INDEX_KEY)
--path-regex <regex>
restore only filenames matching regex,
you have to use following syntax (possibly quoted):
^/(|home(|/username(|/Desktop(|/.*))))$
-c ignore case (--path-regex only)
whc
Nov 02, 2019Aspirant
Or maybe there is a command for using rsync, and backing up all data on the nas drives, no matter if deleted or not?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!