I tried robocopy, but it's not helping. If Outlook Application is open. The file cannot be copied.
[image: image.png] On Tue, Jan 10, 2023 at 2:34 PM Alex DiMarco <a...@alexdimarco.ca> wrote: > you could probably use robocopy along these lines which will deal with the > locked files and then backup the copy. If Outlook is actively changing the > file, there is a chance of corruption. > > > /MIR switch to mirror the source folder > /B switch to open files in backup mode > robocopy %source% %destination% /MIR /R:1 /W:1 /B > > > > On Tue, Jan 10, 2023 at 12:24 PM Patrik Dufresne <pat...@ikus-soft.com> > wrote: > >> Hello, >> >> I'm using rdiff-backup on Windows 10 and I want to use it to backup the >> ".ost" files containing the Outlook mailbox. To my understanding Outlook >> is >> locking these files exclusively and that prevents rdiff-backup to copy the >> file seamlessly. In fact, when rdiff-backup tries to backup these files a >> simple "Permissions Error" is raised. >> >> One way I know it's possible to copy the file is using the VSS (Volume >> Shadow Copy Service) to create a snapshot and then access the file data in >> that snapshot. The process is deadious and requires Admin privilege which >> is not always available. >> >> So what is your experience with these kinds of files ? Do you know other >> ways to backup locked Outlook files ? >> >> I'm looking toward an automated script using VisualBasic script to export >> the data maybe ? >> >> -- >> IKUS Software >> https://www.ikus-soft.com/ >> 514-971-6442 >> St-Colomban, QC J5K 1T9 >> > > > -- > Contact Information for Alex DiMarco > > * For remote assistance to share your desktop: > Download Splashtop Support > <https://my.splashtop.com/sos/packages/download/TJAHTLRRTPXP> > > * Email: > To Contact Alex DiMarco: a...@dimarcotech.com > * Address: > 51 Galaxy Blvd. > Etobicoke, ON, Canada. M9W 5P1 > * Phone: > 1-877-454-7485 > -- IKUS Software https://www.ikus-soft.com/ 514-971-6442 St-Colomban, QC J5K 1T9