Solved

Need to mirror a unix hard drive

Posted on 2007-11-13
7
745 Views
Last Modified: 2013-12-23
We are a pharmacy that runs UNIX.  We use scoserver.  We do nightly backups that sometimes fail, sometimes don't.  I would like to create a real time mirroring or at least a dependable backup.  I do have the ability to ftp into the box.  Are there any good programs (as inexpensive as possible) that will do this real time?  real time mirroring is my preference if you don't think it will slow down my network too badly.

Thanks in advance.
0
Comment
Question by:joemckamey
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 12

Expert Comment

by:benhanson
ID: 20278161
What you really should have is a hardware mirror.  How this would be done depends on what hardware you are using now, but a RAID 1 setup is really the only way to go for realtime fault tolerance.
0
 

Author Comment

by:joemckamey
ID: 20278182
The problem is our software and hardware are supported by our Pharmacy Dispensing System software company.  They would frown upon us doing anything to the box.  You know how it is, if anything went wrong it would be our fault after that!
0
 

Author Comment

by:joemckamey
ID: 20278188
I agree raid 1 is a great solution...if it were feasable.  There is  program called MirrorFolder out there, but it won't allow mapped drives (which of course I can use a mapped drive as well).  it does raid 1 software version.  Anything like that which truly supports unix?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 3

Expert Comment

by:fseto
ID: 20278212
You can try something like Bacula (http://www.bacula.org/) or Amanda (http://www.amanda.org/).

The *best* backup that I used before are the "snapshots" from NetApps.  But AFAIK, that requires a NetApp Drive.  But perhaps other experts can chime in if they know something like that exists on other unix platforms.
0
 
LVL 4

Expert Comment

by:Dozer42
ID: 20278241
Actually the NetApp snapshot feature is relatively easy to implement on Unix systems due to the linked nature of the filestructure.

There's a wonderful program called rsync that can be used to do just that. A google search on the subject should produce some results.

I cannot say if it will work on SCO, but who knows.

I used it to create a 1 Terabyte server (8 120GB raided IDE drives with a 3ware controller) for about $3000, when Netapp wanted some $50,000 for the same amount of storage. Then I used rsync to back it up.

If he connected an external drive to this system and then used rsync to do the backups he could have backups going back years for just the $300 or so for an external 1TB drive. =)

I think the rsync command I used was along the lines of:

rsync -av --delete --exclude *log*

I believe this is the same type of thing that Apple is doing with Time Machine in OSX 10.5/Leopard.
0
 
LVL 12

Expert Comment

by:benhanson
ID: 20278243
The crucial term you are using is "realtime"  To get true "realtime" mirroring, you need something working at either the physical drive layer, or at the filesystem driver level.  If you are looking for something like an incremental snapshot, You could probably just use rsync, running an rsync job as a cron task.  Another issue you may run into is that the files you really need may be in use and thus you might not be able to back them up using typical methods.  How frequent are you looking for snapshots?
0
 
LVL 3

Accepted Solution

by:
fseto earned 500 total points
ID: 20278304
Dozer42:  Thanks!

I found this link, which provides a pretty good summary of using rsync as snapshot backup:  http://www.mikerubel.org/computers/rsync_snapshots/

"realtime" backup such as RAID will be good against hardware failure.  But that's not going to help you if you need to go back in time and recover an older file (or deleted file).  I'm not knocking the raid idea, that's great if you can get it implemented.  But it should only be in addition to, and not replace, a periodic backup routine.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

810 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