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/var/www/vhosts/3dshawn.com/site1/_file_scan.pl
SiteDriftSense self-monitor on local
Kindlocal
Captured at2026-07-13 16:35:42
Captured SHA43d702d9e6c377c6867629290d15b4c5d351db05fdf1b35c2d3eb0ddd38b9afc
Current state on disk
Live check just now. If SHAs match, the restore is a no-op.
File presentyes
Size12934 bytes
Current SHA43d702d9e6c3
Same as captured?yes -- no-op
Preflight compile-check ?
perl compiles cleanly — restore is safe to proceed.
Confirm restore
Backs current content to <target>.drift_restore_backup_<epoch>, writes the captured content, verifies SHA post-write.
Cancel Logged to RESTORE_LOG regardless of outcome.