This setting selects drive letter, folder path(s), file(s) path, wildcards, or as many combinations as needed.
Input Parameters
The following table provides the input parameters and descriptions.
Parameter | Description |
type | For files and folders backup set, the value is Files. |
selection | Array of strings, allows selecting folder paths, or wildcards. |
files | Array of strings, allows selecting file paths. |
Example for selecting folders
{
"type": "Files",
"selection": [
"%SystemDrive%",
"e:",
"x:\\folder1"
]
}
Example for selecting combination of files and folders
{
"type": "Files",
"selection": [
"%SystemDrive%",
"e:",
"x:\\folder1"
],
"files": [
"c:\\folder\\file1.txt",
"c:\\folder\\file2.txt"
]
}