sftp_rollback_file
Revert a remote file to its saved .matlock.bak snapshot, undoing modifications via SFTP over SSH.
Instructions
Instantly rollback a modified remote file to its previous .matlock.bak snapshot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional SSH connection target. If omitted, uses default profile (homelab). | |
| filePath | Yes | Absolute remote file path to restore. | |
| backupPath | No | Specific backup file path (if omitted, uses .matlock.bak.latest). |