Re: how to restore deleted directory/files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Sep 16, 2020 at 07:21:08PM +0800, qw wrote:
> I remove one directory by running rm -fr ./some-dir. How to restore
> the directory and its files in the directory? 

If you don't have backups, then you're pretty much out of luck.  Don't
forget to back up any data that is important, and test your backups
regularly! 

Depending on the filesystem, there might be ways to recover it, but
the first thing you need to do is stop using the disk the files were
on.  Power it off.  There are some tools that you can use to recover
it, but it's not 100% effective.

If it's very important and you are willing to spend money, there are
data recovery services that might be able to extract the data.

-- 
Jonathan Billings <billings@xxxxxxxxxx>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux