Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Enterprise Vault Backup using Robocopy

Updated: 21 May 2010 | 2 comments
awb123's picture
0 0 Votes
Login to vote

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

discussion Filed Under:

Comments

A Zürcher's picture
19
Jan
2009
0 Votes 0
Login to vote

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.

EV Guru's picture
20
Jan
2009
0 Votes 0
Login to vote

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