?
Solved

Backup script

Posted on 2003-12-10
10
Medium Priority
?
176 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 500 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

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…
The top devops trends for 2017 are focused on improved deployment frequency, decreased lead time for change and decreased MTTR.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

770 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