I find the following backup-related aliases to be helpful (adapt to your own partition names):

# scsi-tape bkp for Linux partitions:
alias   h2bkp 'dump 0ufs /dev/nst0 1200000 /dev/hda2'
alias   h6bkp 'dump 0ufs /dev/nst0 1200000 /dev/hda6'

alias   rewind 'mt -f /dev/st0 rewind'
alias   listtape 'restore -tf /dev/nst0'

# advance tape by one file
alias   advtape 'mt -f /dev/nst0 fsf 1'

# backspace tape by one file
alias   bstape 'mt -f /dev/nst0 bsf 1'

The end of a dump tape appears to be marked with two successive EOFs, which can be confusing if you don't expect it.

A nicer way to go is to use Arkeia, which is free for a single home machine (http://www.arkeia.com).

Julius

Date: Wed, 5 Apr 2000 22:49:47 -0400 (EDT)
From: "Steven W. Orr" <[EMAIL PROTECTED]>
To: Steven Hildreth <[EMAIL PROTECTED]>
cc: [EMAIL PROTECTED]
Subject: Re: Multiple dump(s) on single /dev/st0 tape
Message-ID: <[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; charset=US-ASCII
You need to look at the mt command. There are control commands for the
tape drive.
--
-Time flies like the wind. Fruit flies like a banana. [EMAIL PROTECTED]
-Stranger things have happened but none stranger than this. Steven W. Orr-
Does your driver's license say Organ Donor?Black holes are where God \
-------divided by zero. Listen to me! We are all individuals!---------
On Wed, 5 Apr 2000, Steven Hildreth wrote:
=>So I write the first dump like this:
=>
=># dump -0u -b 126 -d 141000 -s 11500 -L hda1 -f /dev/nst0 /dev/hda1
=>
=>then:
=>
=># dump -0u -b 126 -d 141000 -s 11500 -L hda5 -f /dev/nst0 /dev/hda5
=>
=>then rewind it? Is this needed? I am just going to backup the partitions and
=>then change the tape for the next day. I suppose so, so I would rewind it
=>like this:
=>
=># mt -f /dev/st0 rewind
=>
=>then how to restore files from the second dump?
=>
=># restore -i ?
=>
=>Seems that I can only access the first dump, and non after that??
=>
=>Thanks for your help.
=>
=>Regards,
=>Steven Hildreth
=>Information Technology Manager
=>Aprotex Corporation, http://www.aprotex.com
=>"Proven Property Protection Since 1952"
=>
=>
=>
=>
=>----- Original Message -----
=>From: "Steven W. Orr" <[EMAIL PROTECTED]>
=>To: "Steven Hildreth" <[EMAIL PROTECTED]>
=>Cc: <[EMAIL PROTECTED]>
=>Sent: Wednesday, April 05, 2000 3:33 PM
=>Subject: Re: Multiple dump(s) on single /dev/st0 tape
=>
=>
=>> Just write to /dev/nst0 instead of st0. n is the Norewind device.
=>>
=>> --
=>> -Time flies like the wind. Fruit flies like a banana.
=>[EMAIL PROTECTED]
=>> -Stranger things have happened but none stranger than this. Steven W. Orr-
=>> Does your driver's license say Organ Donor?Black holes are where God \
=>> -------divided by zero. Listen to me! We are all individuals!---------
=>>
=>> On Wed, 5 Apr 2000, Steven Hildreth wrote:
=>>
=>> =>Could someone tell me how to create multiple dump's on a single tape.
=>> =>
=>> =>I would like to backup all my hard drive(s) to a single tape.
=>> =>
=>> =># dump -0u -b 126 -d 141000 -s 11500 -f /dev/st0 /dev/hda1
=>> =>
=>> =>Then continue with /dev/hda5, /dev/hda7, /dev/hdb1, etc.
=>> =>
=>> =>Thanks. Havents found squat about it, but the
=>http://www.backupcentral.com
=>> =>comparison guide says that the dump will do multiple dumps to a single
=>tape.
=>> =>
=>> =>p.s. I have a 4gig Travan 4 SCSI tape drive and only about 1.5 gig of
=>data
=>> =>on the two drives.
=>>
=>

-- To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject.

Reply via email to