Bulk addition of protected items

ZPAT provides capabilities to add protected items in bulk for devices present on the server. Addition of protected item is a configuration operation used to add sources to backup for a particular device.

ZPAT provides functionality for bulk creation of protected items. The added protected items can be edited from the Zmanda Pro Server UI

Base Requirements

  1. An instance of self-hosted Zmanda Pro Server

  2. The add-pi.csv configured

  3. Admin credentials to access you server

CSV Configuration

add-pi.csv

Header

Description

1

Type_of_Protected_Item

string

The type of protected item to configure. Available options:

  1. FilesAndFolders : Defines a files and folder source.

  2. WindowsDisk : Defines a windows disk source

2

Hostname

string

The hostname of the device to which the protected item needs to be added

3

Username

string

Username to which the device belongs to

4

Name (Optional)

string

Name of the protected item to be added. If no name is provided, the protected item is configured with default name

5

File_Include_Paths (Required: Files and Folder type)

array of strings

Contains a list of all the file paths needed to be backed up in a files and folder type protected item

6

File_Exclude_Paths (Files and Folder type)

array of strings

Contains a list of all the file paths needed to be excluded during backup in a files and folder type protected item

7

File_RExclude_Paths (Files and Folder type)

array of strings

Contains a list of all the file paths needed to be excluded during backup defined in regex format in a files and folder type protected item

8

WDI_Include_Drive_Letters (Required: Windows Disk)

array of strings

Contains a list of the windows drives needed to be backed up in a windows disk image type protected item.

Command Execution

Refer Common flags here.

/opt/zmandapro/automations/zpat add-pi

Last updated

Was this helpful?