Solved

Mirror folder contents on 2nd physical drive

Posted on 2004-09-19
5
997 Views
Last Modified: 2008-01-16
Hello Experts!

I recently installed a second physical hard drive in my Win XP SP2 machine.  They are both 80GB.  Call these drives C: and F:.

There is one particular folder on the C: physical drive, that I would like to mirror the contents of on the second physical drive, F:.

Could someone explain the best way to accomplish this?  What about if I wanted to mirror the contents of that same folder to a different physical harddrive on another computer connected over a wired 100 Mbps network?

Thanks
0
Comment
Question by:DanielAttard
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:r_ran
Comment Utility
By mirror, do you mean that any change to the contents of folder on drive C: will *immediately* reflect in the folder on drive F:? Do you need it to work both ways (changes in F: reflect on C:)?

If not, perhaps Windows XP backup (Start->All Programs->Accessories->System Tools->Backup - Whew!) is enough for you - it can copy a folder to a folder on the same computer or over the network at different time intervals.
0
 

Author Comment

by:DanielAttard
Comment Utility
No, I don't need it to work both ways, and I am content if it happen overnight.  Thanks for the suggestion.
0
 
LVL 1

Accepted Solution

by:
r_ran earned 500 total points
Comment Utility
Keep in mind the Windows XP backup created a single backup file - you won't be able to access your files directly on the backup - which means this is not a mirror at all.

A different approach than Windows XP backup will be to add a "Scheduled Task" (it's in same place as "Backup" - these things are well hidden!). A scheduled task need a command file to run, create one with notepad that will contain a single line like this:

xcopy /M /Y /E c:\foldertobackup f:\mirror

Save it in a file called 'backup.cmd'. Browse to this file in the 'add schedured task' dialog and direct it to run daily, overnight.
The flags for xcopy: /M copies only new and changed files. /Y does not prompt for overwrite. /E copies the entire tree.
0
 

Author Comment

by:DanielAttard
Comment Utility
That certainly makes more sense than using the Backup utility.  I'll give that a try and let you know how it works out.  Thanks for taking the time to give me such a detailed answer.
0
 
LVL 15

Expert Comment

by:Cyber-Dude
Comment Utility
If you want to mirror a drive, theres nothing easier than this;
1. Start => Run... => cmd => type 'diskpart'
2. Read the following before doing anything; you may use 'help' to get commands information and the 'add' command to create simple volume mirror.
http://home.earthlink.net/~rlively/MANUALS/COMMANDS/D/DISKPART.HTM

Cyber
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Don't buy such-and-such disk drives, they are not reliable!    Boy, how many times have we read a post from a well-meaning person who had some bad experiences with a drive and now they exclaim the entire company's products can't be trusted.  First, …
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

763 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