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
From: *dip0.t-ipconnect.de

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
From: *msu.montana.edu
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: Wed Dec 11 09:14:31 GMT 2019