Restore Backup Action
Description
Restores a backup of a file created using the Create Backup action.
A backup is created by copying the file and giving it a .bak extension.
If a backup already exists it will be overwritten, so you will need to ensure that the old backup will not be required before calling this method.
Parameters
File Path | The relative or absolute path of the file we want to restore the backup of. |
Error Handling |
[Optional] Events triggered when an error occurs. |
Backup Was Restored |
A bool variable which is set to true if the backup was found and restored. |
Override Default Settings |
[Optional] The settings we want to use to override the default settings. |