We've transitioned to a new documentation portal to serve you better. Access the latest content by clicking here.
This topic describes the following sections:
Content rules define the data to be backed up. You can create a custom rule and attach it to one or more servers. After you assign the servers to backup sets, data from these servers is backed up according to the content rule and backup policy defined in the backup set.
Druva creates a default content rule for your setup. The default content rule is configured to back up all folders excluding a few system folders. The default content rule also excludes image, audio, video, executable, database, backup, and disk image file types from backups. You can assign the default content rule to one or more servers. You can also update or delete this content rule.
Note: The Manage Content Rules page do not list the custom content.
You can create a content rule for a File server. You cannot configure a server with multiple backup sets having the same backup content.
Before you begin
Before adding a content rule for File servers, ensure you have read:
Procedure
Field | Description |
---|---|
Backup All Folders | Select this option if you want to backup all files and folders, including hidden files and folders. The folders under Subfolder Exclusions are excluded from backups. |
Backup Specific Folders |
Select this option to backup specific folders. Type the absolute path (including the root directory) of the folder in the corresponding box and press Enter. You can also click Add <entered folder path> to add the folder. Use the following formats while entering absolute paths:
|
Subfolder Exclusions |
Druva excludes a few folders from backup by default. For more information on the folders excluded by default in Windows and Linux, see Folders excluded from File server backup. The subfolder exclusions apply whether you choose to backup all folders or specific folders. To exclude more subfolders, type their absolute or relative path, and press Enter. To remove a subfolder from this list, click the cross icon next to the path. Sub-folder exclusions support the following wildcard patterns: Wildcards without existing paths
Wildcards with existing paths
The file extension is considered as part of the filename.
|
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 and file patterns from the folders selected above.
If you remove any file type that is excluded from backup, a pop-up message is displayed on the screen. |
Include only the following files in the backup | Include the specified file types and file patterns from 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 Backup Content. |
Enter the 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.
|
|
File Name Patterns |
Enter file 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.
|
Ignore case sensitive file/folder name match for Linux servers |
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 Linux servers, this means that the entered text is case-sensitive. If this option is selected, Druva ignores the case of the files and folder names in these fields. For Linux servers, this means that the entered text becomes case-insensitive.
|
Click Save.
Note: The Save button is disabled if:
You select Specify Custom Content and then Backup Specific Folders but don't enter any absolute folder paths.
You don't enter a content rule name.
You enter an unsupported file extension or file pattern.
Correct the error and then click Save.
The created content rule now appears on the Content Rules page.
To view the list of content rules created for the File Servers, perform the following tasks:
For more information about the details, see Manage Content Rules details page.
When you edit a content rule, the updated configurations apply to all backup sets associated with that content rule. The updates are effective from the next backup of the corresponding backup sets. However, you can edit custom content applied to a certain server, and the updated configurations apply only to the associated backup set. The updates are effective from the next backup of the backup set.
Note: The Save button is disabled if:
- You select Specify Custom Content and then Backup Specific Folders but don't enter any absolute folder paths.
You don't enter a content rule name.
You enter an unsupported file extension or file pattern.
Correct the error and then click Save.
You can delete a File server content rule that you no longer need. You cannot delete a content rule mapped to one or more backup sets.
Note: You can delete a content rule only after 7 days of the deletion of the last backup set mapped to the rule.
Procedure
Note: A content rule mapped to one or more servers cannot be deleted. To see which servers are associated with the content rule, click the Servers tab on the Content Rules details page. Associate these servers with other content rules, and then delete the content rule. To change the content rule for the servers, from the Servers tab, click the server name. From the server details page, select the backup set, click more options, and select Change Content Rule. For more information, see Change Content Rule.
Druva allows you to apply the same content rule to backup sets of multiple servers. However, one content rule can only apply to one backup set on a server.
Note: Modifying the content rule initiates a full scan in the next backup. The full scan may exceed your backup window. Use Backup Now to run a manual backup of all the selected backup sets that will be modified as a result of this change.
33772