This article explains how you can restore an individual file from a snapshot, with our file-level recovery functionality.
In CloudRanger, there are two ways to launch a restore. You can leave the volume unattached, you can attach the volume to the instance, or you can request a file level restore.
When you are viewing your list of backups via the main menu backup section, you will have the ability to click the 'Restore' option for each snapshot taken.
Here you will be presented with the two restore options and may choose whichever method is best for you.
With the File-level recovery option, you have the ability to start a CloudRanger recovery instance and pick the files you want to recover. This process launches an instance in your environment, attaches your volume and hosts it as a web server. The files on this instance will only be accessible by your IP.
Choosing how long you want your temporary instance to be available
You can choose the length of time you would like the temporary instance to be available but we suggest at least 30 mins.
When you are happy, click the Launch Instance button. Your temporary instance will then be created and you will be redirected to the Restores page.
The Supercharged option will ensure a faster restore process by using an m4.large instance, by using this option you will incur the costs associated with this resource.
From here, you will see the latest restored snapshots which are now connected to a temporary instance, and this can be opened by clicking the link provided. This will then open in a new window
It may take around 30 seconds to one minute for the temporary instance to be available, so you may need to refresh the page.
When the temporary instance becomes available, you can then browse through the folder structure and select the archived files for downloading.
Users can now search for a file using the search box at the top right. This search supports glob patterns. This means that the asterisk wild-card can be used to specify ‘any’ characters in a search pattern. eg : ‘*.js’ means any file with a .js extension.
Users can also download a directory in one click using the download icons on the right. This will come down as an archive with a .zip extension.
The temporary resource we generate when using 'File Level Recovery' now is SFTP enabled which allows users the ability to connect to a snapshot and access data easier using different access methods such as WinSCP or FileZilla.
You now have the ability to access snapshot data and transfer using this protocol, it opens up a lot of possibilities depending on the implementation and use case. See below, where we have accessed the temporary instance using Filezilla and have downloaded multiple folders and files.
Access details for SFTP
The username is: sftpuser and the password is: the snapshot ID on port 22
Accessing using WinSCP
You will need to create a new site where the host name is the restore URL the user name is sftpuser and the password is the snapshot ID.
For more information on how to use our new Automated Disaster Recovery functionality, please check out our Automated Disaster Recovery Testing for Amazon EC2 article.