📸 Files in use (VSS on Windows)

On Windows, files opened exclusively (databases, Outlook PSTs, virtual machines) can't be read directly — the OS returns error 32/33. IO Backup copies them anyway using VSS snapshots.

How it works

  • When a source file fails because it's in use, the engine creates a VSS snapshot of the volume (one per volume per run).
  • It reads the file from the snapshot — point-in-time consistent even if the file keeps changing on the real disk.
  • When the pass finishes, the snapshot is deleted. If cleanup was left pending, it's retried later.

What you see in the app

  • Files read via VSS appear flagged as such in the run log.
  • A source read error is classified as CoreError::Source: the file is skipped and retried on the next pass — it never counts as "destination unreachable" nor invalidates the backup.

Honest limitations

  • VSS freezes the file, not the application: a VSS copy of a database is "crash-consistent" (like booting after a power cut). Modern databases recover fine, but for maximum consistency use a dump pre_command.
  • Requires the Windows VSS service to be active and free space on the volume for the snapshot.
  • There's no VSS on macOS/Linux: in-use files can usually be read anyway; if one fails, it's skipped and retried.

If VSS fails on your machine

  • vssadmin list writers and the event viewer show the reason (usually: VSS disabled, low disk space, or a broken writer from other software).
  • The engine log (Logs) records the exact VSS error — check it before assuming the file is corrupt.