Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: henjoh09Posted on 2009-09-13 at 10:17:09ID: 25321026
/SEC parameter is not necessary as it's included in /COPYALL
/COPYALL /LOG:"fs1frmsmllc001.txt" /XD monthlydelete old /R:10 /W:30 /MAXAGE:3 /ZB
As you want to copy the changed files, use /MAXAGE:x to only copy files newer than x days.
/MIR includes /PURGE which will clean out files/dirs in destination not existing in source
/NDL and /NFL is the reason for not getting anything in the log.
If task user has been granted backup right, you can use /B or /ZB to use backup mode.
robocopy "\\serverip\fs1" "\\serverip\fs1\directory"