SyncVM – File Level Restore

 

Recently I did a video illustrating virtual disk synchronization capabilities with Tintri SyncVM. Our latest 4.0 Tintri OS takes SyncVM a step further by allowing file level restores from snapshots. Currently this only works on VMware, but it is compatable with both Linux and Windows.

Let’s start by navigating to my linux demo machine from the Tintri UI via the search option

After searching for the ‘cl-linux-file’ demo machine, simply right click on the VM and select ‘Restore VM/Files’

Next, simply select the ‘Guest OS File’ radio button and then select the snapshot you wish to restore a file from on the drop down menu. I chose to uncheck the ‘Auto detach disks in 48 hours’ option because I will manually detach the snapshot when I’m finished with the restore. Then click ‘Restore’

You will see the progress in the back ground of the snapshot getting added as an additional disk. Once it reaches a 100%, you can login to the VM and mount the drive.

On my linux VM instance, I have to do a rescan to detect newly added SCSI devices. This is a very simple script (named scan.sh as you can see in the illustration) that scans and then mounts the disk under a mount point I simply named ‘recover’

After running scan.sh, you can see that I now have a new disk on /dev/sdb1 mounted under the ‘recover’ mount point.

Now I can simply navigate to ‘/recover/home/clucas’ and restore the file named ‘large.file’ to ‘/home/clucas’ by doing a simple copy. Then just navigate to ‘/home/clucas’ and verify the file is there.

Now that the file is recovered, I can umount the drive and then detach the snapshot from my VM back in the Tintri UI.

That’s it! Very simple to easily restore files directly within the guest OS using SyncVM file restore. The process is exactly the same on Windows, however you just use the disk manager to ‘online’ the disk that was added.

Post to Twitter Post to Delicious Post to Digg Post to StumbleUpon