简体   繁体   English

从 Google VPS 恢复已删除的文件夹

[英]Recover deleted folder from Google VPS

we have a VPS running on Google Cloud which had a very important folder in a user directory.我们有一个运行在 Google Cloud 上的 VPS,它在用户目录中有一个非常重要的文件夹。 An employee of ours deleted that folder and we can't seem to figure out how to recover it.我们的一名员工删除了该文件夹,我们似乎无法弄清楚如何恢复它。 I came across extundelete but it seems the partition needs to be unmounted for it to work but I don't understand how I would do it on Google.我遇到了extundelete但似乎需要卸载分区才能工作,但我不明白我将如何在 Google 上执行此操作。 This project took more than a year and that was the latest copy after a fire which took out the last copy from our local servers.这个项目花了一年多的时间,这是火灾发生后的最新副本,从我们的本地服务器中取出了最后一个副本。

Could anyone please help or guide me in the right direction?任何人都可以帮助或指导我朝着正确的方向前进吗?

Getting any files back from your VM's disk may be tricky (at best) or impossible (most probably) if the files got overwritten.如果文件被覆盖,从 VM 的磁盘取回任何文件可能会很棘手(充其量)或不可能(最有可能)。

Easiest way would be to get them back from a copy or snapshot of your VM's disk.最简单的方法是从 VM 磁盘的副本或快照中取回它们。 If you have a snapshot of your disk (either taken manually or automatically) from before when the folder in question got delete then you will get your files back.如果您在相关文件夹被删除之前拥有磁盘快照(手动或自动拍摄),那么您将恢复您的文件。

If you don't have any backups then you may try to recover the files - I've found many guides and tutorials, let me just link the ones I believe would help you the most:如果您没有任何备份,那么您可以尝试恢复文件 - 我找到了许多指南和教程,让我只链接我认为对您最有帮助的那些:

First though - make a copy of the disk you want to get your files back from and work on the copy.首先 - 制作一个您想要从中取回文件的磁盘的副本并处理该副本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM