On 2020-09-16 06:21, qw wrote:
Hi,
I remove one directory by running rm -fr ./some-dir. How to restore the
directory and its files in the directory?
1. restore from latest backup.
2. if you are very facile with Linux, then you culd try
a. remount read only the mount point where
On Wed, Sep 16, 2020 at 10:00:05PM +0800, qw wrote:
>
> Thanks for your advice. I will try the tools.
>
>
> I also found the article about how to create and mount image.
>
> https://midnightprogrammer.net/post/create-mount-and-unmount-img-files-in-ubuntu/
>
>
> The article says, the image
Hi,
>>
>> Thanks for your reply. The file system type is xfs. And I found
>> xfsdump/xfsrestore can undo the remove.
>
>Hm, are you sure you can use xfsdump/xfsrestore for this?
>
xfsdump/xfsrestore can't do the recovery.
>> I use dd to copy the partition as one image file. How do I mount
> Hi,
>
>
> Thanks for your reply. The file system type is xfs. And I found
> xfsdump/xfsrestore can undo the remove.
Hm, are you sure you can use xfsdump/xfsrestore for this?
>
>
> I use dd to copy the partition as one image file. How do I mount the image
> as read-only device? Then I can try
Hi,
Thanks for your reply. The file system type is xfs. And I found
xfsdump/xfsrestore can undo the remove.
I use dd to copy the partition as one image file. How do I mount the image as
read-only device? Then I can try to recover the deleted files/directory anytime.
Thanks!
Regards
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
Hi,
I remove one directory by running rm -fr ./some-dir. How to restore the
directory and its files in the directory?
Thanks!
Regards
Andrew
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
7 matches
Mail list logo