Solved

Need to mirror a unix hard drive

Posted on 2007-11-13
7
741 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
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

863 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

24 Experts available now in Live!

Get 1:1 Help Now