Deleted folders in a LXC

bastify

Member
Jul 18, 2019
3
0
6
47
Hi,

I delete with "rm -rf" some folders in a centos 7 inside a proxmox (LXC) container. Anybody knows a method to recover this folders? Working inside the container.

Thanks a lot
 
hi,

it's the same as if you deleted them in a non-ct linux environment.

if you have backups or snapshots, you can restore those.

otherwise you'll have to use forensic tools[0] on the rootfs/mountpoint to recover the deleted files.

[0]: https://linuxgain.com/recover-deleted-files-linux/