Restore a backup
restore_backupRestores an Altium library file from a specific backup or the most recent one. Safely snapshots the current file before restoring, ensuring reversibility and atomic writes.
Instructions
Restore an Altium library file from a backup. If no specific backup is specified, restores from the most recent backup. The current file is snapshotted as a new backup first (reported as pre_restore_backup), so a wrong pick is itself reversible, and the restore is written atomically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to the library file to restore | |
| backup_path | No | Optional: specific backup file to restore from. If not provided, uses most recent backup. |