Backup script

Hi, I have (2) external maxtor drives connected to a Win2k server. Drive (1) contains several gig of tif images. Once a night I would like to back up only files added (modified) that day to drive (2). Can this be done through a dos batch file or are there any other scripting tools I can use?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Luc FrankenEMEA Server EngineerCommented:
You can use a batch script wich you can schedule to run every night, wich contains this line:

xcopy /m <location of files> <destination of files>

see if it suits you.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
peter_fleurOperational Director Commented:
Maybe Robocopy can do the trick. It's a tool which we use to mirror a drive or copy modified files from one computer to another (or one drive to another) You can download it here:

Hope it will help you.

IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.


Why do you recommend the /m switch instead of the /d switch?

Luc FrankenEMEA Server EngineerCommented:
I recommend the /m switch as it only applies to modified files then. And if you run it every day, it'll automatically choose only the files that are changed that day. With /d all files are suspect for being copied so the processing time is longer also. (reading an archive bit goes a lot faster than reading a date)
Thanks LucF :-).
Luc FrankenEMEA Server EngineerCommented:
yw :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.