Any solution for copies of pst (outlook) files without breaking the backup?

Hello
Running backup command from C:\Users\carlos.CAI/.duplicacy-web/repositories/localhost/4 to back up C:\Users\carlos.CAI\Documents\Archivos de Outlook\
Options: [-log backup -storage carlosdeandres -stats]

2019-12-19 13:06:26.476 INFO REPOSITORY_SET Repository set to C:\Users\carlos.CAI\Documents\Archivos de Outlook\
2019-12-19 13:06:26.509 INFO STORAGE_SET Storage set to wasabi://eu-central-1@s3.eu-central-1.wasabisys.com/carlosdeandres
2019-12-19 13:06:27.535 INFO BACKUP_START No previous backup found
2019-12-19 13:06:27.535 INFO BACKUP_INDEXING Indexing C:\Users\carlos.CAI\Documents\Archivos de Outlook
2019-12-19 13:06:27.535 INFO SNAPSHOT_FILTER Parsing filter file \\?\C:\Users\carlos.CAI\.duplicacy-web\repositories\localhost\4\.duplicacy\filters
2019-12-19 13:06:27.535 INFO SNAPSHOT_FILTER Loaded 0 include/exclude pattern(s)
2019-12-19 13:06:27.536 INFO BACKUP_LIST Listing all chunks
2019-12-19 13:06:27.600 ERROR CHUNK_MAKER Failed to read 0 bytes: read \\?\C:\Users\carlos.CAI\Documents\Archivos de Outlook\Mi archivo de datos de Outlook(1).pst: The process cannot access the file because another process has locked a portion of the file.
2019-12-19 13:06:27.602 INFO INCOMPLETE_SAVE Incomplete snapshot saved to C:\Users\carlos.CAI\.duplicacy-web\repositories\localhost\4/.duplicacy/incomplete
Failed to read 0 bytes: read \\?\C:\Users\carlos.CAI\Documents\Archivos de Outlook\Mi archivo de datos de Outlook(1).pst: The process cannot access the file because another process has locked a portion of the file.
1 Like

First of all, are you running Duplicacy with elevated privileges (run as admin) and including the -vss option?

Historically, PST files have been a pain to backup while in-use, so my only suggestion - IF the above doesn’t work, though it just might nowadays(?) - would be to do it while Outlook isn’t running.

You could write a script to backup only the PST(s) in a repository, but schedule it more frequently and check to see if the Outlook process is running and exit if it is. Or perhaps a VBS script for Outlook that would execute a backup when it’s exited.

1 Like

Thank you
If I am running with administrator privileges …
I will try to create a script to close the pst files and then perform the backup

1 Like

You can run a vss backup with the web interface (duplication web edition) or only in the cli version
thanks

1 Like

Both. In the web interface, just include -vss in the options field.

2 Likes

solved
Thanks…Perfect

1 Like

For anyone: Feel free to use the :heart: button on the posts that you found useful.

For the OP of any #support topic: you can mark the post that solved your issue by ticking the :checked: under the post. That of course may include your own post :slight_smile:

1 Like