bodminman Posted January 14, 2011 Posted January 14, 2011 Hi there, does anyone use Robocopy for backups? If so, would you mind sharing your scripts. I want to do Full backups over the weekend and incremental during the week and keep a month on rotation. Cheers if you can help. If you can't, well thankyou for just ready! Have fun!
steveg Posted January 14, 2011 Posted January 14, 2011 I'd be cautious about using robocopy for backups, as i'm fairly certain it wont copy any files that someone has left open, unlike backup software which normally can. Steve 1
Gibbo Posted January 14, 2011 Posted January 14, 2011 There really shouldn't be any files left open. If there were surely that would mean that there were machines left on? My script, runs daily: robocopy "X:\pupils\Y7" "\\backupserver\d$\Pupils\Y7" /S /E /V /NP /R:3 /W:10 1
bodminman Posted January 14, 2011 Author Posted January 14, 2011 Any idea what Error 5 Copying File . . . . . . Access denied means? I'm running this on a test server and logged in as a Domain Admin.
Gibbo Posted January 14, 2011 Posted January 14, 2011 Are you getting it for every file, or just the odd one? This might help: Luis Rocha's Blog: Robocopy error: ERROR 5 (0x00000005) Changing File Attributes
sted Posted January 14, 2011 Posted January 14, 2011 latest iteration of the ones i use for user areas etc (not system) echo job started >>"\\nasbox\backup\Robocopy\users\mon\log.txt" time /t >>"\\nasbox\backup\Robocopy\users\mon\log.txt" date /t >>"\\nasbox\backup\Robocopy\users\mon\log.txt" robocopy d:\users "\\nasbox\backup\Robocopy\users\mon" /copyall /mir /r:2 /w:5 echo job finished >>"\\nasbox\backup\Robocopy\users\mon\log.txt" time /t >>"\\nasbox\backup\Robocopy\users\mon\log.txt" date /t >>"\\nasbox\backup\Robocopy\users\mon\log.txt" echo. >>"\\nasbox\backup\Robocopy\users\mon\log.txt"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now