Mirroring directories?

cessna152

Golden Member
Feb 10, 2002
1,009
0
0
Does anyone know of any software that would mirror data from one folder to another? For example, Lets say I have Folder A and Folder B on the same computer. If I write something to Folder A it should automatically replicate itself on Folder B.

Unfortunately, RAID isn't an option.

Thanks for any help.
 

0roo0roo

No Lifer
Sep 21, 2002
64,795
84
91
yea that would be nice, i want to know too, automatic chepa selective backup.
 

hasu

Senior member
Apr 5, 2001
993
10
81
Try MirrorFolder
I use v3.0 and love it. Unlike regular backup programs, it copies only the changed portion of the file (may be only those sectors). Description says it is like s/w raid. There are plenty of options in the new release.
 

mike3411

Member
Jul 10, 2002
82
0
0
MS's latest version of Office has "Groove" folder synchronization. Otherwise, the raid tools in Linux will allow this for free =D
 

hasu

Senior member
Apr 5, 2001
993
10
81
Any of these software (other than MirrorFolder) works like Raid-1 (I mean real time sector to sector backup)? Looks like they are just regular backup softwares.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Any of these software (other than MirrorFolder) works like Raid-1 (I mean real time sector to sector backup)? Looks like they are just regular backup softwares.

Doing it sector by sector would be impossible, or at least very problematic, since a kernel mode driver would be necessary to monitor changes to the block devices and it would have to understand the filesystems on top of the block devices in order to watch just the directories you want. Essentially any benefits you might gain from doing it at that low level would be greatly overshadowed by the huge amount of extra work required.

On Linux it should be simple enough to write a perl script using inotify to watch the directories and then rsync to copy any changes in real time, I might have to give that a try some time.
 

hasu

Senior member
Apr 5, 2001
993
10
81
Originally posted by: Nothinman
Any of these software (other than MirrorFolder) works like Raid-1 (I mean real time sector to sector backup)? Looks like they are just regular backup softwares.
Doing it sector by sector would be impossible, or at least very problematic, since a kernel mode driver would be necessary to monitor changes to the block devices and it would have to understand the filesystems on top of the block devices in order to watch just the directories you want. Essentially any benefits you might gain from doing it at that low level would be greatly overshadowed by the huge amount of extra work required.
A driver level application should be able to achieve a similar effect. I am not sure if it would be sector "to sector" because the destination sector is not guaranteed to be there. Mirror Folder claims to have "real-time mirroring".
On Linux it should be simple enough to write a perl script using inotify to watch the directories and then rsync to copy any changes in real time, I might have to give that a try some time.
That is similar to directory change notification in windows. But then to update the backup copy the whole file will have to be copied to the destination every time the change event occurs. What would happen if you do that with a database file?
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
A driver level application

That's an oxymoron.

I am not sure if it would be sector "to sector" because the destination sector is not guaranteed to be there. Mirror Folder claims to have "real-time mirroring".

I couldn't be sector to sector unless the kernel driver portion had some way to enforce the layout on both filesystems. And if it allows you to select two directories on the same filesystem that really would be impossible.

That is similar to directory change notification in windows. But then to update the backup copy the whole file will have to be copied to the destination every time the change event occurs. What would happen if you do that with a database file?

If the backup database file isn't in use it wouldn't be an issue. If it's a hot backup then yes, you would want the sync tool to go through the application controlling the database and you should be looking at some form of clustering software.
 

Leros

Lifer
Jul 11, 2004
21,867
7
81
Originally posted by: kevnich2
Try allwaysync. It works great for me, lots of options and it's free.

Allway sync has started harrasing me to buy their business version. I only sync a few hundred small files ( < 20mb total) every day. Now it won't sync unless I click a little button.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
If you have Windows XP then Raid is most certainly an option.

XP can't do software RAID1 so that's irrelevant and we don't know the specifics of the situation so you can't say that it's "certainly an option".
 
Dec 27, 2001
11,272
1
0
Originally posted by: Nothinman
If you have Windows XP then Raid is most certainly an option.

XP can't do software RAID1 so that's irrelevant and we don't know the specifics of the situation so you can't say that it's "certainly an option".

XP Pro can, but I forgot that XP Home can't. So we're both right.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
XP Pro can, but I forgot that XP Home can't. So we're both right.

Nope, XP Pro can't either just like Win2K Pro couldn't. I heard a rumor that Vista Ultimate could but could never prove that.
 

hasu

Senior member
Apr 5, 2001
993
10
81
Originally posted by: Nothinman
XP Pro can, but I forgot that XP Home can't. So we're both right.

Nope, XP Pro can't either just like Win2K Pro couldn't. I heard a rumor that Vista Ultimate could but could never prove that.

raid_without_additional_hardware

Edit1: I am not sure if it is available in Pro, but it is there in Windows 2000AS
Edit2: Test setup Windows 2000 Pro 5.00.2195 SP2
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
raid_without_additional_hardware

I failed to see any mention of software RAID1 in that article.

Edit: I am not sure if it is available in Pro, but it is there in Windows 2000AS

And Pro is the sticking point, client versions of Windows don't support any redundant software RAID while the server releases do.
 

hasu

Senior member
Apr 5, 2001
993
10
81
Originally posted by: Nothinman
raid_without_additional_hardware

I failed to see any mention of software RAID1 in that article.

Edit: I am not sure if it is available in Pro, but it is there in Windows 2000AS

And Pro is the sticking point, client versions of Windows don't support any redundant software RAID while the server releases do.

It might be only for Raid-0?

Edit: Here you go: How To Mirror the System and Boot Partition (RAID1) in Windows 2000
 

hasu

Senior member
Apr 5, 2001
993
10
81
Originally posted by: Nothinman
I couldn't be sector to sector unless the kernel driver portion had some way to enforce the layout on both filesystems. And if it allows you to select two directories on the same filesystem that really would be impossible.
Somehow Mirrorfolder does that. As far as I noticed it does not copy the whole file to the second folder. Filemon does not catch any activity of mirror folder while it works. Mirrorfolder does copy even opened files.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Tom's hardware.

Which makes it irrelevant since the OP wanted mirroring. When I saw it was a Tom's Hardware link I knew it was either that or the article on hacking your system to enable the redundant RAID levels which is a pretty bad idea anyway IMO.

Previous post is updated with a link describing how to achieve s/w Raid-0 in Win2k.

Actually your article is for software RAID1 (mirroring) and it requires Server or higher just like I said already.
 

hasu

Senior member
Apr 5, 2001
993
10
81
Originally posted by: Nothinman
Actually your article is for software RAID1 (mirroring) and it requires Server or higher just like I said already.
I have updated my previous post with a link from MS on how to implement s/w mirroring in Windows 2000.

In addition I just mirrored my 10GB TrueCrypt volume to a second folder. All the changes made to the original file is available in the second volume within 30 seconds. 30 seconds was required for me to copy a few files to the mounted TC volume unmount the volume and mount the mirrored backup. That says that it does copy only the changed portions of the file. I cannot confirm if it is sector by sector. But it is completely transparent and instantaneous irrespective of the size of the file or whether it is in use. Mirrorfolder has a trial version. You might want to try that to believe it.

 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Somehow Mirrorfolder does that. As far as I noticed it does not copy the whole file to the second folder. Filemon does not catch any activity of mirror folder while it works. Mirrorfolder does copy even opened files.

No, it doesn't do it sector by sector it just copies the changed chunks within the file and rsync can do that for free so it's not like they're doing anything magical. I realize it's probably just semantics but it does matter. Windows enforces file locks though and it locks them by default IIRC so copying opened files can be a little trickier requiring things like Volume Shadow copy.

I have updated my previous post with a link from MS on how to implement s/w mirroring in Windows 2000.

Server though, it's not possible to do software RAID1 in Pro.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |