Backs up a collection of plants on a given site from the given inputs. For example, the below URL backs up a set of Plant present on a Site entity using the details mentioned in the body.
POST
<ServiceRoot>/Sites(‘MySiteAlias’)/BackupPlants
{
"plantIds":[ "PlantA", "PlantB" ],
"backupConfigurationFilePath":"\\\\fileshare\\DBBackups\\Multiple\\BackupPlants.bcf",
"backupFilesPath":"\\\\fileshare\\DBBackups\\Multiple\\",
"overwriteExistingFile":true
}
Parameter |
Type |
Description |
---|---|---|
plantIds |
Collection<string> |
Collection of plants to be backed up |
backupConfigurationFilePath |
String |
An accessible complete file path (UNC) of the bcf file |
backupFilesPath |
String |
An accessible UNC path having the backup files |
overwriteExistingFile |
Boolean |
Boolean indicating whether to overwrite if the files exist |
Make sure the UNC paths you specify have the required configuration. For help, see
Required Configuration for File Paths.