Is it possible to recover files deleted with rsync -avz --delete? If it is, what are some suggested tools to do so?
I am assuming you ran rsync on some unix system. If you don't have a backup of your file system, then its a long tedious process recovering deleted files from unix file system. High level steps :
% dd if=/partition of=partition.img ..
(this assumes you have enough space to store this somewhere locally in a different partition, or you can copy it over to different system % dd if=/partition | ssh otherhost "dd of=partition.img"
) grep -b
to extract the contents of your missing file. enjoy!
我无法让extundelete工作,所以我最终使用photorec + find / grep来恢复我的重要文件。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.