snapraid:recover_a_lost_file
Table of Contents
SnapRAID - Recover a Lost File
Restore Files
To restore or undelete files to their previous state using the -f, –filter option :
snapraid fix -f FILE
WARNING: The “fix” command does not differentiate between errors and intentional modifications.
- It unconditionally reverts the file state as at the last “sync”.
Restore Directories
snapraid fix -f DIR/
Restore Only Missing Files
To recover only accidentally deleted files inside a directory using the -m, –filter-missing option, that restores only missing files, leaving untouched all the others.
snapraid fix -m -f DIR/
Restore All Deleted Files in All Drives
To recover all the deleted files in all the drives:
snapraid fix -m
snapraid/recover_a_lost_file.txt · Last modified: 2025/04/29 17:16 by peter