Backup using dump.bsd

Dave Wells dwells at Apple.COM
Tue Aug 29 06:55:42 AEST 1989


In article <681 at rocket.UUCP> damour at rocket.UUCP (Kevin Damour) writes:

>   I tried to backup our AUX 1.1 disk using dump.bsd and/or tar
>but have run into a few problems.  I am using Apple's tape unit.
>I tried using "tar cvfB - 77100 . | tcb > /dev/rmt/tc2" but after
>the first tape was replaced the an I/O error message was given.
>On the dump.bsd side (I am sure that a parameter or two is missing)
>a bread error was given with a incorrect count.
>   Can someone shed alittle light on a good command line to use?

Kevin,

These ought to work.  My A/UX system isn't up right now, so I can't verify.
My apologies if anything here is ridiculously fundamental.

First, set the TAPE environment variable to point at your tape device:

In .profile or .login (assuming your tape drive is at SCSI ID#2):
  TAPE=/dev/rmt/tc2
  export TAPE

Now you can use the mt command to get info about your tapes.

  mt status
  mt rewind
  etcetera...  check the man pages for more

A command line for tar
----------------------
  tar cvbBf 16 77000 /dev/rmt/tc2 /

  c :  create new archive
  v :  tell me what's going on
  b :  use next available argument (16) as 'blocking factor'
       (The tape drive requires 8K pieces of data - 16 blocks of 512B = 8K)
  B :  use next available argument (~77000) as total blocks per tape
       (only needed if data exceeds 1 tape)
  f :  use next available argument as backup device
  / :  back up from the root file system

A command line for dump.bsd
---------------------------
(after making sure /etc/dumpdates exists)

  dump.bsd 0uc /dev/dsk/c0d0s0

  0 :  0 level backup - get everything.
  u :  update the backup date in /etc/dumpdates
  c :  block output for tape drive and use the drive at TAPE

Hope this helps.

-Dave

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
           Dave Wells, Apple Computer, Inc.  MS: 37-Y  (408) 974-5515
          Mail: dwells at apple.com or AppleLink d.wells or GEnie D.WELLS
 These opinions may be nothing more than the ramblings of a fatigued tinkerer
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the Comp.unix.aux mailing list