Restore
Restore
Restore file to captured state
Every captured change carries its SHA-256-addressed content in BLOB_STORE. Restoring writes that content back to the original path — current file gets backed up to <path>.drift_restore_backup_<epoch> before overwrite.
What will change
Preview -- nothing has been written yet.
| Target file | /etc/cron.d/raid-check |
| Site | SSH-agent watch: /etc/cron.d on localhost-ssh-agent |
| Kind | ssh_agent |
| Captured at | 2018-04-10 16:33:28 |
| Captured SHA | 956a26928fc240bc49ea9c6ddacf775193998a1c10ef00b858f0c7d51bb6f10a |
Current state on disk
Live check just now. If SHAs match, the restore is a no-op.
| File present | no (new file) |
| Size | unknown |
| Current SHA | |
| Same as captured? | no -- restore will change it |
Confirm restore
Backs current content to <target>.drift_restore_backup_<epoch>, writes the captured content, verifies SHA post-write.