Does anyone have a script or procedure to delete extra files (files which are not present in the backup) on restore? I used this feature extensibely with Duplicacy.
There are 3 ways I can think of:
- use robocopy /mir after restoring (only if source is available and restoring to current version)
- mount the snapshot and use robocopy /mir (has anyone tried this?)
- native support ([feature request] snapshot restore: add "robocopy /MIR" (mirror) equivalent · Issue #1535 · kopia/kopia · GitHub)