This method starts restoring a backup.
Namespace:
ABB.Robotics.Controllers
Assembly:
ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax Exceptions Remarks
If the method is successful, the controller performs a restart, else an exception is thrown.
The backup directory must be on the controller file system.
The user must have the grant for the restore operation and mastership for the resources Cfg and Rapid.
Examples
This example restores a backup from a known location.
In this example a controller object 'c' is already created and the event comes from
a button click. The backupDir is set by the user.
private void restore_Click(object sender, System.EventArgs e)
{
try
{
c.Restore(backupDir,RestoreInclude.All, RestoreIgnore.All);
}
catch(GeneralException ex)
{
}
catch(System.Exception ex)
{
}
}
See Also