Solved

Mirror folder contents on 2nd physical drive

Posted on 2004-09-19
5
1,025 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
[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
  • 2
  • 2
5 Comments
 
LVL 1

Expert Comment

by:r_ran
ID: 12097345
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
ID: 12097412
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
ID: 12097617
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
ID: 12098399
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
ID: 12100127
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

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

AWS Glacier is Amazons cheapest storage option and is their answer to a ‘Cold’ storage service.  Customers primarily use this service for archival purposes and storage of infrastructure backups.  Its unlimited storage potential and low storage cost …
I previously wrote an article addressing the use of UBCD4WIN and SARDU. All are great, but I have always been an advocate of SARDU. Recently it was suggested that I go back and take a look at Easy2Boot in comparison.
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…
Suggested Courses

623 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