We help IT Professionals succeed at work.

How to share Tape drive in Linux

ibu1 asked
Medium Priority
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
Watch Question

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)

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Gabriel OrozcoSolution Architect
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 (http://www.tolisgroup.com)
and bacula (http://www.bacula.org/)

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 =)
Top Expert 2006
Firstly, you need to start thinking about this carefully!!!!! Trying to back up a running oracle database results in an a corrupt backup!

So...you 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.

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.