Solved

Backup script

Posted on 2003-12-10
10
157 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
10 Comments
 
LVL 11

Expert Comment

by:adonis1976
Comment Utility
0
 
LVL 32

Accepted Solution

by:
Luc Franken earned 125 total points
Comment Utility
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
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 11

Expert Comment

by:turn123
Comment Utility
LucF,

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

Turn123
0
 
LVL 32

Expert Comment

by:Luc Franken
Comment Utility
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
Comment Utility
Thanks LucF :-).
0
 
LVL 32

Expert Comment

by:Luc Franken
Comment Utility
yw :)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now