Jump to content

Recommended Posts

Posted

Morning all

 

I'm just checking RoboCopy is still the best method for moving files from a main data store to a backup drive that haven't been accessed for, say 18 months or so, complete with the file structure and what not?

 

Ta

Andy T :cool:

Posted
Yeh robocopy is what I use with the /Mirror switch.

 

Does the /mir switch only purge the source folders if they are empty? (i.e. some folders will have files in that are still being accessed and used etc)

Posted (edited)

Oh sorry I totally misread the question.

 

This is the script we use to Archive data over 5 years old.

 

robocopy.exe "C:\Data\Teacher\TeacherUserData" "C:\Data\_Archive\Teacher\TeacherUserData" *.* /S /COPY:DATSO /MOVE /ZB /NP /XA:RHS /XF *.ini *.ico /MINAGE:1800 /R:2 /W:10

Edited by zag
  • Thanks 1
Posted
Oh sorry I totally misread the question.

 

This is the script we use to Archive data over 5 years old.

 

robocopy.exe "C:\Data\Teacher\TeacherUserData" "C:\Data\_Archive\Teacher\TeacherUserData" *.* /S /COPY:DATSO /MOVE /ZB /NP /XA:RHS /XF *.ini *.ico /MINAGE:1800 /R:2 /W:10

 

That's brill .. thanks .. (been a long time since I've used RoboCopy in anger .. lol) :cool:

Posted

Wow .. only about 1/3 of the way through the shared network drives and I've already reclaimed 140GB! Flip! :cool:

 

Thanks again @zag .. your script got me most of the way to where I wanted to be, just changed a few settings to suit us!

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...