Forum Discussion
Perez
Feb 05, 2025Iron Contributor
Robocopy Don't save
I ask those who use this Microsoft utility, if there is a way to not delete a previously saved file, if currently in use.
In practice I have been using this utility for many years, but among all its parameters, I have never found the one that suits me.
In practice, if I opened the Outlook program, the pst file is blocked, too bad that using /MIR the previously saved file is deleted and replaced with .tmp that are unusable.
Does anyone have the solution?
- VirginiaCavalierIron Contributor
If you need to back up while Outlook is running, consider using a backup solution that employs Volume Shadow Copy Service (VSS). However, this might require additional software that supports VSS usage.
- SwawnIron Contributor
About those temporary files (tmp files): when /MIR is used, Robocopy will create a temporary file with the same name but with a .tmp suffix. To avoid this, you can simply rename the file before running the /MIR command. However, this might not be the best solution if you need to preserve the original file name.