Skip to main content

How can we help you?

Druva Documentation

Configure backup set for NAS share

Phoenix Editions: File:/tick.png Business File:/cross.png Enterprise File:/tick.png Elite

 

Backup sets for NAS shares define the data to be backed up, the storage that will store the backups, backup schedule, and so on.  Before a backup set can be configured for a NAS share, ensure that you have:

  • Added a NAS device
  • Discovered or added NAS shares
  • Assigned credentials to SMB shares

Configuration of a backup set involves:

Create backup set infographic.png

  1. Assigning an administrative group if this is the first backup set for the NAS share.
  2. Defining backup settings like storage and backup policy.
  3. Specifying backup content.
  4. Mapping a NAS proxy to the NAS share

Procedure

  1. Log in to the Phoenix Management Console.

  2. Click the drop-down next to All Organizations, and select the organization that has the NAS devices.

  3. On the menu bar click Protect > NAS.

  4. In the device-specific navigation pane on the left, select the NAS device from the DEVICE drop-down.

  5. In the right pane, select the share for which a backup set needs to be created, and then click Create Backup Set.

  6. In the Create Backup Set dialog box, perform the following tasks:

    Create Backup Set- Specify Custom Content.png

Field  Description
Administrative Group

This field is available for the first backup set of a NAS share. Subsequent backup sets take the previously assigned administrative group. Select the Default Administrative Group, or click Create a New Administrative Group. To learn how to create a new administrative group, see Manage Administrative Groups for NAS shares

Backup Settings
Backup Set Name

Enter a unique name for the backup set. You can rename the backup set name if required. 

Note:  The characters | ? * : / \ " < > ' cannot be used in a backup set name

Storage

Select the Druva Phoenix storage that will store the data backed up from the NAS share. Druva Phoenix will restore data from the same storage.

Note: Storage once configured in a backup set cannot be changed later. 

Backup Policy

Select an existing backup policy, or create a new one.  To learn how to create a new backup policy, see Manage backup policies for NAS shares

Backup Content
Use Content Rule

Select the Use Content Rule option to use an existing, pre-created content rule to back up files and folders on your NAS share. When you select an existing content rule, the Content Rule Details section displays the folders included and subfolders excluded from backups. 

The Content Rule Details section also shows the included/excluded File Types, File extensions, and File Name Patterns. If you have selected the Ignore case sensitive file/folder name match for NFS shares option, the Content Rule Details section, displays it with a green tick. If this option is deselected, the Content Rule Details section displays it with a red cross. 

Note: The Content Rule Details cannot be edited from here. For more information see Edit Content Rule.

Specify Custom Content Select the Specify Custom Content option to select the folders, file types, and file name patterns to be included in or excluded from the NAS share backups. You can save the selected folders, excluded subfolders, and included/excluded file types, extensions, and file patterns as a new content rule.
Backup All Folders Select this option if you want to backup all files and folders, including hidden files and folders. The folders under Subfolder to exclude are excluded from backups.
Subfolder to exclude

Druva Phoenix excludes a few folders from backup by default. For more information, see Folders excluded from NAS share backup. The subfolder exclusions apply whether you choose to backup all folders or specific folders. Enter the relative path (relative to the root share directory) of the subfolders that should be excluded from backups. Type the path of the subfolder, and then press Enter. The path gets added to the list below. To remove a subfolder from this list, click the cross icon next to the path. Consider the following example to understand subfolder exclusions:

Suppose an NFS share vol0 has the folders security/users/groups/admins

To exclude the groups folder from the backup of the vol0 share, enter the path as security/users/groups and not just groups. Moreover, if you have configured security for backup, Druva Phoenix backs up security and its subfolders if any but excludes groups.
Backup Specific Folders

Select this option to backup specific folders on the NAS share. Type the relative path( relative to the root share directory) of the folder in the corresponding box and press Enter. You can also click Add <entered folder path> to add the folder. In folder paths, use backward slash (\) for SMB shares and forward-slash (/) for NFS shares. You can add multiple folder paths.

Use the following formats while entering absolute paths:

  • SMB shares: Drive:\Folder
  • NFS shares: /dir/subdir

Consider the following example to understand subfolder exclusions:

SMB share

  • Enter Folder\Subfolder1\Subfolder2 to backup Subfolder2. Do not prefix the share name. 
  • To backup Subfolder2 enter the entire path and not just Subfolder2
  • To backup Subfolder1, enter Folder\Subfolder1

NFS share

  • Enter Folder/Subfolder1/Subfolder2 to backup Subfolder2
  • Enter Folder/Subfolder1 to backup Subfolder1
Specify File Exclusions or Inclusions

If this option isn’t selected all file types, file extensions, and file patterns in the folders selected under Backup Content are backed up.
Exclude the following files from backup Exclude the specified file types, file extensions, and file patterns from the folders selected above.
Include only the following files in the backup Include the specified file types, file extensions, and file patterns in the folders selected above.
File Types

Select file types to exclude/include

Select predefined file types that must be excluded from or included in the backup of folders specified under Specify Custom Content.

 

Add file extensions to exclude/include

This field displays the file extensions associated with the selected file types. You can enter custom extensions if you do not find your extensions under any predefined file types.

  • Enter file extensions in format extension, and then press Enter. You can also click Add <entered extension> to add the extension. Enter extensions without using * or . at the beginning of the extension. Extensions in the format ext1.ext2 are acceptable.
  • For example, to backup text files, enter txt and press Enter.

Note: *extension or *.extension or .extension are unsupported formats. 

  • If the entered extension is associated with a predefined file type, that file type is populated automatically under the File Types field.
  • You can remove extensions from the list of extensions. If the removed extension is associated with a file type for which other extensions are still present, the file type is visible with an [-] icon next to it. You can view the removed file extension by hovering over this icon.
  • If all extensions associated with a file type are removed, the file type is removed from the list of File Types as well.
File Name Patterns

Enter file name patterns that must be excluded from or included in the backup of folders specified under Backup Content.  File patterns start with a * and can contain * *.string* or *.*string in the pattern string. Enter patterns like *.ext in the format ext in the file extension field under File Types.

Note: The filename patterns File* and File*.extension are unsupported. For example, do not use a filename pattern like img* to include/exclude all files that start with img. Use *img* instead. Do not use a filename pattern like img*.jpg to include/exclude all files that end with the extension jpg. Enter the file extension jpg under File Types instead.
For more information see NAS known issues.

Ignore case sensitive file/folder name match for NFS shares By default, this option is deselected. With this option deselected, the file and folder names entered in the Backup Specific Folders, Subfolder Exclusions, File extensions, and File Patterns fields are accepted as is, in whatever case you enter them. For NFS shares, this means that the entered text is case-sensitive. If this option is selected, Druva Phoenix ignores the case of the files and folder names in these fields. For NFS shares, this means that the entered text becomes case-insensitive. Note: This option applies to NFS shares since file and folder names are case-insensitive in SMB shares.
NAS Proxy Mapping

Select a NAS proxy from the list of registered NAS proxies for the backup and restore of data from the NAS share.  Map the backup set to a Windows proxy if you want to backup SMB shares or a Linux proxy if you want to backup NFS shares.  Druva Phoenix displays the NAS proxies based on the share type (SMB or NFS) you plan to back up.

Note: You can only map to a single proxy in a backup set.

  1. Click Save. This completes adding and configuring a NAS share on Phoenix Management Console. 

Note: The Save button is disabled if:

  • You select Specify Custom Content and then Backup Specific Folders but don't enter any relative folder paths.

  • You enter an unsupported file extension or file pattern.

Correct the error and then click Save.

If you have deployed CloudCache, you can attach backup sets to the CloudCache. For more information, see Attach a new backup set to CloudCache.