Solved

Backup script

Posted on 2003-12-10
10
159 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
ID: 9912345
0
 
LVL 32

Accepted Solution

by:
Luc Franken 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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
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:Luc Franken
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:Luc Franken
ID: 11331876
yw :)
0

Featured Post

Backup Your Microsoft Windows Server®

Backup 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

Suggested Solutions

Often, people trade privacy and security for convenience. However in today's concrete jungle, this is an extremely foolish decision considering the vast amount of technologies being used against consumer interest. First off, I won't waste any time e…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …

919 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

12 Experts available now in Live!

Get 1:1 Help Now