我的Mac上运行了Cent OS 6 VM。我是在VM上直接使用FTP远程开发的。我运行了vagrant-rsync-auto
命令。
没有意识到rsync-auto
正在运行,我试图将我创建的项目复制到我的mac上,并在同一目录中进行rsyncing。显然,我丢失了我创建的所有文件,这是一整天的工作。
是否可以恢复文件?
答案 0 :(得分:1)
This is a data recovery issue, not a programming issue, but I would venture a guess that it approaches close to 0% possible. Not only is the data gone/overwritten, but it was inside a VM so the recovery would have to be of the VM disk at an unknown point in time in the past which has since been overwritten by a newer machine state.
Perhaps this will be a good lesson in creating backups / cron jobs or using version control, like Git?