Restore Process
Use the Restore API process to automatically restore projects in batch.
Process Settings
Below are the settings you must define for the Restore API process:
Setting | Description | Sample Value |
---|---|---|
ProcessID | This ID informs Cobra to run the Restore process. | Restore |
FileName | This setting refers to the name of the file you want to restore.
You can specify a comma delimited list of file names to restore. This setting is required. |
DEMOADV.CMP,DEMO.CMP,SHIP.CMP |
Path | This setting refers to the directory containing the backup files.
If you leave this setting blank, the Cobra directory is used by default. This setting is required. |
C:\Cobra\System\DemoData\ |
OverWriteAll | If the value is set to
0, the Restore process skips the files that are being restored if they exist in Cobra.
This setting is required and the default value is 1. |
0 |
Sample Script
Below is a sample script file for the Restore API process:
Process022]
ProcessID=Restore
FileName=DEMOADV.CMP,DEMO.CMP,SHIP.CMP
Path=C:\Cobra\System\DemoData\
OverWriteAll=0
Parent Topic: Process Sections of the API Script
How to...