OpenVZ Forum


Home » General » Support » Undelete files in openvz container
Undelete files in openvz container [message #52411] Fri, 20 May 2016 12:40 Go to next message
Naxid is currently offline  Naxid
Messages: 1
Registered: May 2016
Junior Member

Before around 2.5 hours ago I deleted a very important directory on my openVZ vps.

I have tried:

root@server:/home extundelete /dev/simfs --restore-directory ./ --output-dir /home/restore/

Output:
extundelete: failed to read-only open device "/dev/simfs": Error code 1
How can I solve this issue?
Re: Undelete files in openvz container [message #52464 is a reply to message #52411] Tue, 12 July 2016 17:04 Go to previous message
dowdle is currently offline  dowdle
Messages: 261
Registered: December 2005
Location: Bozeman, Montana
Senior Member
OpenVZ does provide an undelete function and neither do any Linux filesystems I'm aware of. OpenVZ supports ext4 which certainly does not. So to answer your question, there is no easy way to undelete your deleted file(s). You need to use backups and when you have an accidental deletion, you have something to fall back on.

--
TYL, Scott Dowdle
Belgrade, Montana, USA
Previous Topic: VirtualBox on Ubuntu 14.04 Issue
Next Topic: Ubuntu 16.04 kernel versions
Goto Forum:
  


Current Time: Sun Oct 13 21:45:50 GMT 2024

Total time taken to generate the page: 0.07547 seconds