Enterprise Vault Backup using Robocopy
Hi,
I have recently created a robocopy script to backup the Vault Store and only copies changes made instead of copying the data over and over again.
Here is the code:
robocopy "E:\Enterprise Vault Stores" "E:\SystemBackup\Backup" /E /SEC /COPYALL /PURGE /V /NP /R:10 /W:30
My question is since I changed from using Windows Backup to robocopy emails are not being fully archived. They are in the state of 'This item is being archived, please do not copy/delete etc etc".
I believe its because robocopy the way I have setup is not clearing the Archive file attribute. Would this be correct?
Does anyone use robocopy? If so what code are they using?
I have found that I can manually do this job by running "attrib -a "E:\Enterprise Vault Stores\*.*" /S"
Is there a way of using robocopy to do this job as it copies the items?
Thanks,
Andy
Comments
Yes, this sounds like the attribute is not reset.
There is a switch /M for robocopy -> Copies only files with the archive attribute set, but removes the archive attribute from source files
This will only copy items from the source with the attribute set. This way you have something like a inkremental backup.
You must set the a - archive attribute after your backup run on the files, then the shourtcuts will be updated. You have now surely the "after backup" vault store config enabled....
________________
www.longerich.com
... book us !
_________________
www.longerich.com
Would you like to reply?
Login or Register to post your comment.