Skip to main content

Is I/O to backup device "guaranteed" to be done before post-backup command is called?

Thread needs solution

Windows 7 Pro SP1 64 bit, TI 2017 Build 8053

My post-backup commands flush the backup drive, unmount it, power it down and shut down the system.

Is all I/O to the backup device guaranteed to be done before the post-backup commands are executed?

Validation of the backups is always good, but I thought I'd ask anyway.

0 Users found this helpful

Bert, I cannot give you a definitive answer to this question as there are other factors that may be involved in the I/O operations, i.e. any caching being done on the computer that may be pending even though Acronis believes that the actual backup task has completed and the post command can be actioned.

You may want to include a short delay in the post command and also see if you can use any safe removal options / tools that would force any pending I/O to be flushed to the drive, if this is not what you mean when you say about flushing the backup drive?

In reply to by truwrikodrorow…

So long as the backup program itself is really not going to be doing any more I/O once the post-backup commands are called, any problems I encounter will be my own fault.

The drive is configured for "safe removal", I use the Sysinternals "sync" command to flush the system cache to the drive (although "safe removal" should have stopped OS caching anyway), and use the "mountvol" command to unmount it prior to powering it down.

Presumably (there's a lot of presuming and finger-crossing going on here) these should make sure that there's no data left hanging around in the system cache or in the disk's own hardware cache.