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
Who is Participating?
leisnerConnect With a Mentor Commented:
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)

Gabriel OrozcoConnect With a Mentor Solution 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 =)
pjedmondConnect With a Mentor Commented:
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.