How to share Tape drive in Linux

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
LVL 12
ibu1System AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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)


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gabriel OrozcoSolution ArchitectCommented:
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 =)
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.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.