How does File Level Search work for Amazon EC2 resources in Druva CloudRanger
File Level Search via Backup Policy
With our existing backup system in place, our new File Level Search functionality allows you to search the file systems of the Amazon EC2 backups (snapshots) and if necessary retrieve or download the file(s). This allows users to recover file(s) that may have been deleted for whatever reason or to confirm that file(s) don't exist for Governance purposes.
The File Level Search feature is optional and can be turned on in the Account Settings. There are options for the user to turn on the feature for All backups in the account or individual backups created by a Druva CloudRanger Backup Policy.
Note: File Level Search feature when enabled will create an S3 Bucket per user account to store the File System Metadata of the target backups. CloudFormation scripts also need updating to allow access to the S3 bucket. Our File Level Search feature is only available with our Enterprise and Elite Editions.
Step 1 – Enable File Level Search in Account Settings
In Account Settings navigate to File Level Search settings and enable File Level Indexing. Select 'Index backups via backup policy' and click Add Policy.
Step 2 – Add Backup Policy in Account Settings
In 'Select A Policy' Dialog find the target policies and click 'Use' to select them for Indexing. When satisfied with the selected policies click 'Add'. Save the Account settings by clicking 'Save' Button. Selected policies will now be automatically Indexed after backups are created by backup policy.
Step 3 – Execute Backup Policy and show user backup is searchable
Execute the Backup Policy that was added in Step 2. Backups will now be created, these will be displayed in the Backups page. When the backup is in progress the File Index Icon will be grey. Also grey for backups that belong to a policy not added in File Level Search settings
When a backup is completed the backup will be Indexed to make it searchable for files, the Icon will be blue to show a user that this is in progress.
When Indexing is completed the icon will turn green. This indicates that the backup is now searchable for files.
Step 4 – Search Files Option is available
Now that File Indexing is completed the user can search the backup for files. After selecting the backup the Search Files Option becomes available in the Actions Menu. Note: The Search Files Option is only available when the backup is indexable i.e Green Icon is displayed.
Step 5 – Search for Files in Backups
After a user clicks the Search Files the user is navigated to the File Search page and the option the backup (snapshot) is automatically entered into the 'IN BACKUPS' box. The user can now enter search criteria in the File Search Page, the example below is to search for JPG files that between with 'ad'
After clicking 'Search' the File Index for Backup 'snap-07a3beb25cd4383e1' is searched using the given search criteria. This example yields 21 files
To narrow down the search File Size and Date Modified can use to filter the results.
Step 6 – Retrieve File from Search results
When the target file(s) have been identified in the search results the user can select the file(s) and click 'Retrieve Files' link to download the files.
Clicking 'Start File Retrieval' will begin the progress. If there are large files it may take some time, there is a notification option in 'Account Settings' that will alert the user when the process is completed, as highlighted below.
Clicking on the 'View Restores' link in the dialog or Backup page will display the Restores page. The backup should be displayed and when the File Retrieval process has completed a 'DOWNLOAD HERE' link should be available
Clicking on the link will then download the file to the users desktop.