Skip to main content
Restore a NAS share
Updated over 3 months ago

This section provides information about the restore options for NAS share and describes how you can restore data to the original or an alternate location.

Search for files and folders

Use the search feature to search for files and folders across recovery points in a backup set. The following table describes the search criteria and filters for new and existing customers.

Users

Search by

Filter by

Existing NAS users
(Druva account created before 17 May 2021)
​

file name

exact filename, file extension, file size, modified date

New NAS Users
(Druva account created on or after 17 May 2021)
​

file name or
​ folder name
​

exact filename, type, file extension, file size, modified date

In the above table,

  • If you are an existing Druva user and your account was created before 17 May 2021, you can only search for files and restore them.

  • If you are a new Druva customer and your account was created on or after 17 May 2021, then you can search for files and folders and restore them both.

Search filters for existing NAS users

You can use one or more filters to narrow down the search results. Click the search bar to view the available filters. For example, if you want to restore a .doc file modified between 17 May 2021 and 31 May 2021, expand Advanced Options and select the following:

  • File Extension doc

  • Date Modified 17/05/2021 to 31/05/2021

Search filters for existing NAS users_updated.png

Search filters for new NAS users

You can use one or more filters to narrow down the search results. Click the search bar to view the available filters. For example, if you want to restore files and folders that start with the word Spreadsheet modified between 17 May 2021 and 31 May 2021, expand Advanced Options and select the following:

  • File or folder name: Spreadsheet

  • Advanced Options:

    • Type: Both files & folders

    • Date Modified:17/05/2021 to 31/05/2021

search_filter_new.png

Here are some of the ways you can use the search filters:

File Names

  • Exact name match:To search for the exact filename, use the Match exact name checkbox. Enter the complete filename in the search bar, including the file extension, and then click Search. Selecting the Match exact name checkbox disables the File Extension filter.

File Names_updated.png

To search for the file filename.pdf, enter filename.pdf in the search bar, select Match exact name, and click Search.


πŸ“ Note
​ If you do not select the Match exact name checkbox, Druva searches for files whose name starts with a similar prefix. For example, if you enter _filename.pdf in the search bar, keep the Match exact name checkbox deselected, and click Search, Druva returns the following results:

  • _filename.pdf

  • _filename.pdf.txt

  • _filename.pdf.old, and any other files with similar prefixes.


  • Partial name match

If you do not select the Match exact name check box, then you are performing a partial file name search. You can search for files with search terms or prefixes. Search terms are substrings of a filename that are separated by a delimiter. For example, search terms for a file Druva_Phoenix.txt are Druva, and Phoenix. You can also use a prefix of a search term to search for files. For example, prefixes of search terms for a file Druva_Phoenix.txt are Dru, Druv, Druva, Pho, Phoe, Phoeni, Phoenix, Druva_Phoenix.txt. The prefix should start from the left of the search term and must be a minimum of 3 characters and a maximum of 64 characters.


πŸ“ Note
​ Druva does not support performing a partial filename search using search terms or prefixes starting with special characters. For example, to search for a file _druva.txt, the valid search terms are:


  • dru

  • druv

  • druva

  • You can also enter _druva.txt and select Match exact name to perform this search.

To search for

Valid search terms and prefixes

Invalid search terms and prefixes


Phoenix_backup_0019.pdf

  • Pho

  • Phoe

  • Phoeni

  • Phoenix

  • back

  • backup

  • backup_0019

  • 0019

  • Phoenix_backup

  • Phoenix_backup_0019

  • Phoenix_backup_0019.pdf

  • *.pdf

  • _0019.pdf

  • nix_back

  • 019.pdf

  • enix

  • up_0019

  • Search multiple files

Search for multiple files at once by specifying search terms or a prefix of the search terms separated by a space. Druva performs an OR operation between the search terms and lists all the files that contain the search terms and prefixes. The maximum number of search terms or prefixes that you can specify is 10.


πŸ“ Note
​ The file name or folder name must be three characters or greater.


List of files in backup set

Search term used

Resulting files

Invalid search terms

  • Phoenix_backup_0019.doc

  • druva_setup_0019.pdf

  • druva_back_up_0012.pdf

  • back_druva.txt

  • setup-backup.doc

  • Phoenix_set_up.pdf

  • set_phoe_batch.txt

  • setup

    druva

  • druva_setup_0019.pdf

  • druva_back_up_0012.pdf

  • back_druva.txt

  • setup-backup.doc

  • setup,

    druva

  • back;

    setup

  • setup AND druva

  • setup OR druva

  • setup+druva

  • Phoenix_backup_0019.doc

  • druva_setup_0019.pdf

  • druva_back_up_0012.pdf

  • back_druva.txt

  • setup-backup.doc

  • Phoenix_set_up.pdf

  • set_phoe_batch.txt

  • back setup

    druva

    phoe

  • Phoenix_backup_0019.doc

  • druva_setup_0019.pdf

  • druva_back_up_0012.pdf

  • back_druva.txt

  • setup-backup.doc

  • Phoenix_set_up.pdf

  • set_phoe_batch.txt

  • back, setup,

    druva, phoe

  • back;

    setup;druva;phoe

  • back AND setup AND druva AND phoe

  • back OR setup OR druva OR phoe

  • back+setup+druva+phoe

File Extensions

Search for files of predefined file types such as Office files, Image files, and so on, or enter custom extensions without periods or character prefixes to search for files with custom extensions. The custom extension can have a maximum length of 10 characters.

To search for

Valid search terms

Invalid search terms


Phoenix_backup_0019.doc

  • Select Office files in the File Extension dropdown, or

  • Type doc in the File Extension field

  • .doc

  • *doc

  • %doc


πŸ“ Note
​ To see a list of file types and their associated extensions, see File types supported for backup.


Type

This field is available if you are a new Druva user and your account was created on or after 17 May 2021. Choose to search for Both files & folders, Only files, or Only folders from the Type dropdown. The search results are filtered to show Both files and folders, Only files, or Only folders that match the other search filters.
​

Type_updated.png

πŸ“ Note
​

  • If you choose to search for Only folders, the File Extension and File Size fields are disabled.

  • The File Extension and File Size filters only apply while searching for files, even though Both Files and Folders have been selected in the Type field. The Date Modified and the Name (or Match exact name ) apply to both files and folders.


Type1_updated.png

File Size

Enter a file size range to search for files by file size. You can search for file sizes in KBs, MBs, and GBs. The max size must be greater than the min size.

Date Modified

Search for files created or modified between the selected dates. For example, when you enter a date range such as 15/03/2021 (15 March 2021) to 31/03/2021 (31 March 2021), Druva searches for files modified between 15 March 2021, 12:00 am to 31 March 2021, 11:59 pm. In the Date Modified field, you can select a date in either From or To filter, or both of them. For example, if you select only the From date filter, all files created or modified after the From date are listed in the search results. You must choose a date after 1 January 1970.

Search results

The Search Results section displays the files and folders that match the search criteria. You can hover over the search query in the search bar to view the applied search filters. You can also modify the search query (highlighted in the screenshot) at any point in time. Scroll down to see more results.

search_results1.png

The Name field under Search Results is followed by a sort icon. Initially, the sort icon is in a neutral state, meaning the Name field is not sorted in either ascending or descending order.


πŸ“ Note
​ You cannot sort the search results by name until all the search results are fetched. The sort icon is enabled next to the Name column once all the search results have been fetched and their count is less than one hundred thousand. Click the sort icon to sort the results in ascending or descending order.


If the number of search results exceeds one hundred thousand, then refine the search filters to reduce the results, and then sort by Name.

sort_one_lakh_nas.png

πŸ“ Note
​ Sort is available for both files and folders, for example,

  • file/folder name that starts with numbers will be sorted as 1file, 10file, 11file, 120file, 13file, 2file instead of 1file, 2file, 10file, 11file, 13file, 120file.

  • file/folder name that starts with letters will be sorted as Backup_file, Folder_file, backup_file and not Backup_file, backup_file, Folder_file.

  • file/folder name containing Letters and numbers will be mixed as

    file 1

    ,

    folder 11

    ,

    file 2

    and not

    file 1

    ,

    file 2

    ,

    file 11

    .


Select one or more files or folders from the search results and choose to restore the latest version, all versions, or specific versions of the selected file(s) or folders.
Points to be noted:

  • Searching requires the data to be indexed. Post backup, the data is indexed automatically after some time. The files in the backup are available for search once the indexing completes.

  • Search will be available only for those backup sets whose backup completes successfully.

  • The search feature does not work for the agents that are not connected or are disabled.

  • You cannot restore files and folders that belong to a quarantined recovery point. When you click Finish on the Restore Settings tab, then an informational message lets you know that you cannot restore the file since it belongs to a quarantined recovery point. For more information, see Quarantined and Deleted Recovery points.

Restore files and folders from search

You can choose to restore the latest version, all versions, and specific versions of files and folders.


πŸ“ Note
​ You can search for and restore folders from recovery points created on or after 17 May 2021, if you are a new Druva customer.


You can select a file or a folder or both from the search results and click Restore.

restore_general.png

The following table lists the restore options available when you select files, folders, or a combination of the two for restores from the search results.

Select

Restore latest version

Restore all versions

Restore specific versions

Single file

Yes

Yes

Yes

Multiple files

Yes

Yes

No

Single folder

Yes

No

Yes

Multiple folders

Yes

No

No

Files and folders

Yes

No

No


πŸ“ Note
​ The option to restore all versions of

  • Single folder

  • Multiple folders

  • Files and folders

and restore specific versions of

  • Multiple files

  • Multiple folders

  • Files and folders

are disabled because the size of the selected folder(s) is not available. All folder versions are not available until the search completes. The size of the selected folder(s) in combination with the number of folder versions available may be too large to be restored on the destination.


Restore latest version

This option allows you to restore the latest version of the selected file or folder to the original device or a different device. This option is available for single or multiple files and folder selections. The latest versions of files and folders are restricted to the specified search parameters.

restore_latest_version.png

Restore all versions

This option lets you restore all versions of the selected file(s). This option is available for single and multiple file selections. This option is not available if you select one or more files with folders.

restore_all_versions.png

πŸ“ Note
​ If you select one or more files that have multiple versions from the search results and choose to restore all versions of those files, you can restore them to a custom location on the original device or a different device. Druva restricts you from restoring these to the original location on the original device to avoid an overwrite of the original files.


Restore specific versions

This option allows you to restore specific versions of a single file or a single folder. This option is not available if you select multiple files, multiple folders, or files and folders from the search results.

restore_specific_file.png

πŸ“ Note
​ If you choose to restore multiple versions of a single file, you can restore them to a custom location on the original device and a different device. Druva restricts you from restoring multiple versions of a single file to the original location on the original device to avoid an overwrite of the original file.
​



πŸ“ Note
​ Restore of 5000 or more files/folders in a single restore job is not supported. This restriction applies to restore of all versions, latest versions, and specific versions. If you select 5000 or more files/folders in a single restore job, you cannot proceed to restore without reducing the number of selected files/folders. Modify the search filters to reduce the number of files/folders and then proceed to restore.


Restore_50k.png

You can restore folder versions based on the modification time. A folder can be considered modified when:

  • an immediate child file is modified

  • a file or folder is added directly to the folder

  • an immediate child file or folder is deleted

Depending on the search criteria, the latest folder versions are displayed by default.

Restore_specific_version_search_NAS.png

However, the modification time of files inside this folder can be different than the modification time of the folder. Therefore, you can restore specific versions of a folder by selecting the folder modified time from the drop-down.

Restore_specific_version_latest_NAS.png

After you select a specific date and time, the same is reflected as the latest version:

Restore_specific_version_NAS.png

πŸ“ Note
​ You can also browse the folder on the selected modified time, and can restore any other folders/files included within it.


additional example_nas.png

πŸ“ Note
​ In the above example, if the Aze folder contains more than 2048 files/folders, the Load More option will be visible to load the next set of results. For more information, see Restore a NAS share.


Export file/folder listing

Every folder on the Restore page has an export icon. You can click the icon to export all the files/folders included within this folder, in

 .csv

format. Users who don’t have access to the Druva Administration console can use this exported file to determine the files or folders they want to restore. After they have identified the files that they need, the administrator can restore them from the Restore page.
​
​

Export file folder listing.png

About NAS share restore

Druva provides the following restore options for NAS share:

  • Restore to original location: Restores the data at the original location with the original settings.

  • Restore to alternate location: The alternate location can be a different NAS share of the same NAS device or a different NAS share on a different NAS device. You can also specify a custom restore path and select a NAS Proxy that will handle the restore request.

You can configure both the above restore options with a set of restore settings common across both the options. The common restore settings control how Druva restores the NAS share data when the data is likely to get duplicated or overwritten at the restore location.

Common restore settings

The following restore settings define how data restore occurs if the files and folders already exist at the target location. These settings are common to both Restore to original location and Restore to alternate location restore options.

Always overwrite

This option overwrites files/folders with the same name at the destination irrespective of the file version or date. This option is selected by default.

Overwrite if original is older

Druva will overwrite files/folders with the same name only if they are older than the version being restored.

Restore and move original to .orig

If the file/folder you want to restore already exists on the destination, Druva renames the existing file/folder to filename.extension.orig while the version you want to restore is saved with the same name. Subsequent restores append an incremental number to the existing file at the destination. For example filename.extension.orig1, filename.extension.orig2, and so on. For example, assume that one of the files you are restoring from Druva is file.txt, which already exists at the destination. This scenario will explain the naming changes that file.txt undergoes over several restore cycles.
​

Multiple restores and file names.png

Always skip

Druva does not restore files with the same name at the restore location. The number of files skipped will be displayed in the progress logs.

Preserve original directory structure

Recreate the source directory structure at the destination while restoring a file to an alternate location. The upward tree path of the file is always preserved while restoring to the original location. The downward tree path is always preserved by default.

An example of preserve original directory structure:
If you restore a folder called Department from the path

D:\Emp Data\Department\Manager\titles

at the source location to the F: drive on the destination, the restored folder hierarchy will be

F:\D\Emp Data\Department\Manager\titles

.

If you choose to restore to the original location on the original device, you cannot deselect the Preserve original directory structure option. If you restore to a custom location on the original device or another device, you can deselect this option. Druva does not recommend deselecting this option, as an overwrite of files can lead to potential data loss.


πŸ“ Note
​ If you select files with different parent paths to restore at a destination, for example,

\C\Program Files\Backup\ABC\samplefile1.txt\C\Program Files\Backup\XYZ\samplefile2.txtDestination: C:\Druva

and enable the Preserve original directory structure option on the Restore to Location page, then ideally the tree path of the files must be preserved at the set destination as follows:

C:\Druva\C\Program Files\Backup\ABC\samplefile1.txtC:\Druva\C\Program Files\Backup\XYZ\samplefile2.txt

However, if the CPU in use has less than 3 cores or has memory less than 3 GB, then the older version of Enterprise Workloads agent is used for restore.
As a result, it preserves the upward tree path of the first file and restores it at the set destination. But for the second file, it does not honor the selected upward tree path and restores it at the same location. Therefore both the files are getting restored at

C:\Druva\C\Program Files\Backup\
ABC 

that is,

C:\Druva\C\Program Files\Backup\ABC\samplefile1.txtC:\Druva\C\Program Files\Backup\ABC\samplefile2.txt

To view the file attributes that can or cannot be restored, see About NAS share restores.

You cannot restore a file that you've selected from search if it belongs to a quarantined or deleted recovery point. For more information, see Recovery points that you can restore.

In case of restore after search, if you restore files to the original location or alternate location, the restore job creates a folder with the name of the selected recovery point on the destination and restores the files inside this folder. For example: A folder called Mon_Apr_13_10_46_19_2021 is created on the destination and the files are restored inside this folder.


πŸ“ Note
​ While restoring a folder with a specific version restore option, the recovery point folder is not created.


Restoring one or many versions of single or multiple files generates multiple restore jobs. The number of restore jobs created depends upon the number of selected files and their selected versions, and also the number of recovery points that contain these files. These restore jobs will queue up and run serially. You can find job details in the Audit Trails.

Restore NAS share

  1. Log in to the Management Console.

  2. Select the workload from the Protect menu. Note that if the All Organizations menu is enabled, you have to first select an organization that has your NAS device and then select the workload.

  3. From the device-specific navigation pane on the left, select the NAS device.

  4. In the right pane, click the NAS share from which you want to restore data.

  5. From the share details page, in the Configured Backup Sets section, select the backup set to be restored from, and then click Restore.

  6. In the Restore Files dialog box, you can either search for the file to be restored or manually browse the folder hierarchy for it.

    1. Search: Click in the search box to bring up the Search File Name dialog box. You can search for a file by entering the file name. You can also use one or more filters like File Extension, File Size and Time Modified to find your file. Once the search parameters have been defined, click Search. Select the file to be restored, and then click Restore. Depending on the number of files selected, you can either choose to restore specific, all or latest versions of the file. Select the file versions, and then click Proceed to Restore.

    2. Browse: Click the down arrow next to the date and time stamp and select the recovery point type. Select the recovery point that you want to restore from. In the folder hierarchy, browse for the file(s) to be restored. Select the file to be restored, and then click Restore.


      πŸ“ Note
      ​ The restore view does not display files/folders in alphabetical order. You must scroll and search for the required file/folder.


      A single click of expanding a particular folder will load a total of 2048 files/folders. If there are more than 2048 files/folders, then the Load more option will be visible to display the next set of results in that folder.
      ​

      Restore NAS shares_updated.png
  7. The Restore to Location dialog box is displayed with the following information:

Restore to original location

  1. In the Restore to Location dialog box, click Restore to original location in the Restore Target tab, and then click Next.

  2. In the Restore Settings tab, define the restore settings.
    ​
    ​

    restore settings1.png


    ​
    Select from:

    1. Always overwrite

    2. Overwrite if original is older

    3. Restore and move original to .orig

    4. Always skip


πŸ“ Note
​ The Preserve original directory structure is selected by default while restoring to the original location.


  1. Click Finish. After clicking Finish, Druva initiates restore pre-checks. These checks look for issues that can cause your restore job to fail before the restore has even started. Druva does not initiate a restore job if the restore pre-checks identify any issues. You must fix any identified issues before restoring your data. For more information, see NAS restore pre-checks.

Restore to an alternate location

  1. In the Restore to Location dialog box, click Restore to alternate location in the Restore Target tab, and enter the following details.
    ​

    ​

    Enter the following details:

    1. Specify NAS Device: Select the NAS device.

    2. Specify Share: Select the share on which you want to restore data.

    3. Specify Path: Specify a path where the data has to be restored. This should be a relative path without the share name.

    4. Specify NAS Proxy Pool: Select the backup proxy pool, and Druva can determine a proxy from this pool to restore data to the alternate location.

  2. In the Restore Settings tab, define the restore settings. Select from:

    1. Always overwrite

    2. Overwrite if original is older

    3. Restore and move original to .orig

    4. Always skip

    5. Select Preserve original directory structure to restore the files in the original folder hierarchy.

  3. Click Finish. After clicking Finish, Druva initiates restore pre-checks. These checks look for issues that can cause your restore job to fail before the restore has even started. Druva does not initiate a restore job if the restore pre-checks identify any issues. You must fix any identified issues before restoring your data. For more information, see NAS restore pre-checks.

Did this answer your question?