Solved

Backup script

Posted on 2003-12-10
10
168 Views
Last Modified: 2010-04-14
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?

Thanks  
0
Comment
Question by:timothyking
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 11

Expert Comment

by:adonis1976
ID: 9912345
0
 
LVL 32

Accepted Solution

by:
LucF earned 125 total points
ID: 9913245
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.

Greetings,

LucF
0
 
LVL 3

Expert Comment

by:peter_fleur
ID: 9916938
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: http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en

Hope it will help you.

Peter
0
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

 
LVL 11

Expert Comment

by:turn123
ID: 11297973
LucF,

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

Turn123
0
 
LVL 32

Expert Comment

by:LucF
ID: 11329230
turn123,
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)
0
 
LVL 11

Expert Comment

by:turn123
ID: 11330932
Thanks LucF :-).
0
 
LVL 32

Expert Comment

by:LucF
ID: 11331876
yw :)
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Determining the an SCCM package name from the Package ID
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question