-
Notifications
You must be signed in to change notification settings - Fork 0
Branch main Interface IBackupProvider
github-actions[bot] edited this page Mar 22, 2026
·
106 revisions
Abstract backup interface for creating and restoring configuration file backups.
Create a timestamped backup of the given file.
Parameters:
-
filePath(string) — path to the file to back up
Returns: string — the path to the created backup file
Restore a backup to the original file path.
Parameters:
-
backupPath(string) — path to the backup file -
originalPath(string) — path to restore the backup to
Returns: true if restoration was successful