Jump to content

Recommended Posts

Posted

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!

Posted

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

  • Thanks 1
Posted

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

  • Thanks 1
Posted

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" 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...