Skip to main content

Restore file Linux

Thread needs solution

Hello,

I have a linux VM with two disks. The first is mounted as / and the second is mounted as a subdir.
I paste here the fstab to clarify:

devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
tmpfs /run tmpfs noauto 0 0
/dev/sda1 / ext3 acl 1 1
/dev/VG_Data/LV_Data /srv/www/htdocs/owncloud/owncloud_data/ ext3 acl 1 2

If I use the restore file option when I browse folders I can't see the content of folder /srv/www/htdocs/owncloud/owncloud_data/ that is the mount point of the second disk.
This disk is part of a volume group.

Is there a way to overcame this limitation?
How can I restore a single file or folder in a subdirectory of /srv/www/htdocs/owncloud/owncloud_data/

Thank you.
Regards,
Mario

0 Users found this helpful
frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 22
Comments: 3800

Hi Mario,

Files/folders recovery from Linux LVM volumes is not supported via "File Recovery" option right now (we're planning to add this feature in the next version). To perform this operation you should use Run VM from backup option to mount your Linux VM and copy files from it while the mounted VM is running.

Thank you.
--
Best regards,
Vasily
Acronis Virtualization Program Manager

Hi Vasily,

if I try to mount VM from backup the operation fails with this error:
I googled the error and I found that sometimes updating the virtual hardware of the Acronis Appliance helps so I already upgraded the hw to vmx-10 but I still got the error below.

Impossibile pubblicare la macchina virtuale.
Informazioni aggiuntive:
--------------------
Codice errore: 9
Modulo: 405
LineInfo: 476adbf26d208b4b
Campi:
Messaggio: Impossibile pubblicare la macchina virtuale.
--------------------
Codice errore: 6
Modulo: 405
LineInfo: 476adbf26d2088e1
Campi:
Messaggio: Impossibile emulare i dischi della macchina virtuale.
--------------------
Codice errore: 44
Modulo: 83
LineInfo: 26eed62d2c1407e3
Campi:
Messaggio: Impossibile richiamare oggetto server 'config.hardware.device' (8).
--------------------

frestogaslorastaswastavewroviwroclolacorashibushurutraciwrubrishabenichikucrijorejenufrilomuwrigaslowrikejawrachosleratiswurelaseriprouobrunoviswosuthitribrepakotritopislivadrauibretisetewrapenuwrapi
Posts: 22
Comments: 3800

Hi Mario,

There is a known issue when mounting a VM with vmx-10 hardware version on ESXi 5.5. We have fixed it in newer builds and are planning to release an update next week. You can check the newer build (it's not the same which will be released, but can be used for verification) from the following FTP link:

It makes sense to deploy a _new_ appliance from this build (without updating your current installation) and perform Run VM from Backup operation.

(I've uploaded Italian locale there)

Thank you.
--
Best regards,
Vasily
Acronis Virtualization Program Manager

It Works!!!
very much appreciated.

That solves my problem.

I'll wait for the next version release for the ability to restore files directly from LVM Volumes.
Thank you very much,
Mario