How to share Tape drive in Linux

Posted on 2006-03-25
Last Modified: 2008-01-09
I have two servers one is database and the other is oracle application server.I have tape driver in oracle application server but don't have it in the database server.Now I want to take the backup of my database system.Is there any way to share tape driver.I have also heard about some buffer command while taking the backup.Please help me out
Question by:ibu1
    LVL 3

    Accepted Solution

    Not sure how to back up database but...

    1) if you're using NFS you can read the file on the other machine via NFS and dump it to tape.
    2) you might want to read through this

    3) dump has:
           -f file
                  Write the backup to file; file may be a special device file like
                  /dev/st0  (a  tape  drive), /dev/rsd1c (a floppy disk drive), an
                  ordinary file, or - (the standard output). Multiple  file  names
                  may be given as a single argument separated by commas. Each file
                  will be used for one dump volume in the  order  listed;  if  the
                  dump  requires  more volumes than the number of names given, the
                  last file name will used for all remaining volumes after prompt-
                  ing  for  media  changes. If the name of the file is of the form
                  host:file or user@host:file dump writes to the named file on the
                  remote  host  (which should already exist, dump doesn't create a
                  new remote file) using rmt(8).  The default  path  name  of  the
                  remote rmt(8) program is /etc/rmt; this can be overridden by the
                  environment variable RMT.
    4) look at rmt(8)

    LVL 19

    Assisted Solution

    another way to do this is to install an agent on the dabase server and then the backup program fires the agent and does the backup on tape when defined.

    bru does that (
    and bacula (

    bru is quite good, and it's price is low for what it does, while bacula is a bit more difficult to set, but the price can't be beaten: is free =)
    LVL 22

    Assisted Solution

    Firstly, you need to start thinking about this carefully!!!!! Trying to back up a running oracle database results in an a corrupt backup! can:

    1.   Stop the database whilst you make a copy of the database to another location. The 'other location' can be either a shared/linked directory accessable via a share/ rsync over ssh, or there are ways of doing tar over ssh at the absolute basics. You can then use the various backup solutions already mentioned in order to carry out the backup on the static copy of the database.

    2.   Buy a commercial package which includes a module to enable the backing up of the 'live' oracle database. Oracle is an industrial strength commercial database, and such solutions are expensive. If the data is valuable, then the job is worth doing well! Commercially if the database is over about 50GB, then I normally recommend getting legato networker. Expensive, but its good:

    Another excellent 'enterprise standard' backup utility is AMANDA:

    For backups under about 40 GB per day, I'd just stick with tar and dump:)...add in a little cron, or perhaps use a webmin interface:

    which has a backup module which is more than ample for the less complex backup requirements of most companies.


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    733 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

    17 Experts available now in Live!

    Get 1:1 Help Now