LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-20-2007, 08:00 AM   #1
Zombie13
Member
 
Registered: Nov 2003
Posts: 70

Rep: Reputation: 15
Spanning tapes using "dump".


I'm trying to backup a machine at work using dump, which has been working fine for quite some time. However, the amount of data is now too large for the media, so I would like to span the backup over multiple tapes.

The command I am currently using to back up is as follows:
Quote:
/sbin/dump 0f /dev/st0 / > /var/log/backup/backup`date +%Y%m%d`.log 2>&1

I tried the following for using multiple volumes:

Quote:
/sbin/dump 0fM /dev/st0 / > /var/log/backup/backup`date +%Y%m%d`.log 2>&1
However, the resulted in dump attempting to back up to /dev/st0001, hence creating a large dump file in /dev.

Any help would be appreciated.
 
Old 08-20-2007, 08:14 AM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I would use GNU tar instead of dump. GNU tar allows you to compress the data going to the tape and it has parameters to span multiple tape volumes. (-L and -M).
 
Old 08-20-2007, 08:19 AM   #3
Zombie13
Member
 
Registered: Nov 2003
Posts: 70

Original Poster
Rep: Reputation: 15
Hi, many thanks for the reply. A longer-term solution will be to look at other programs, but for the quick-fix to get the backups running OK today I need to find out how to use multiple tapes. The dump man page does mention using more than one tape, I just can't put my finger on exactly how.
 
Old 08-20-2007, 08:58 AM   #4
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
There is a man page for dump on the Internet at the following address.

http://www.linuxcommand.org/man_pages/dump8.html

It says that there are numerous options to specify the tape length. It also says that the default behavior is to automatically handle multiple volumes if the tape drive provides an end of medium signal.

Since I don't use dump I cannot verify whether this information is correct.
 
Old 08-20-2007, 06:47 PM   #5
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
I don't see any reference to platform, hardware, tape type, etc. An actual answer might depend on those pieces of information, and might get back to tape drivers.

Dump is widely regarded as broken for serious use in linux. Typically, people use gnutar.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"DUMP", cron, and multiple tapes ghight Linux - Software 2 03-06-2007 03:59 AM
dhcpd.conf "range" spanning address classes? michaelsanford Linux - Networking 2 04-08-2005 05:19 PM
"RAW" tape dump/read in Mandrake 9.2? Bob Ross Mandriva 2 01-21-2004 07:15 PM
gdb assembly dump "i386-slackware-linux" centr0 Linux - General 0 06-11-2003 11:44 AM
dump + restore to backup linux ; "Couldn't find matching filesystem: LABEL=/" on boot markus1982 Linux - General 4 09-21-2002 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration