• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1042
  • Last Modified:

Mirror folder contents on 2nd physical drive

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
DanielAttard
Asked:
DanielAttard
  • 2
  • 2
1 Solution
 
r_ranCommented:
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
 
DanielAttardAuthor Commented:
No, I don't need it to work both ways, and I am content if it happen overnight.  Thanks for the suggestion.
0
 
r_ranCommented:
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
 
DanielAttardAuthor Commented:
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
 
Cyber-DudeCommented:
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

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now