backup SunOS 4.1.4 machine

Thanks for the responses from many sun managers.

The backup problem which I encounted is due to the misleading information

which dump provides and the missing parameters to dump. The problem is

solved after I ignore those rewind messages and adding the parameters.

Rgds,

Kenneth Cho

-----Original Message-----

From:owner-sun-managers@codeprof.ececs.uc.edu

[mailto:owner-sun-managers@codeprof.ececs.uc.edu]On Behalf Of Kenneth

Cho

Sent: Thursday, October 26, 2000 6:22 AM

To:sun-managers@codeprof.ececs.uc.edu

Subject: backup SunOS 4.1.4 machine

Dear all,

Thanks for the reply from many sun mangers. To make it simplier, I'd

like to rephase the problem and hope you may have some idea. I'm

backing up a SunOS 4.1.4 machine to a remote tape drive at Solaris 2.6.

However, it's found that the tape rewinded after each file as shown

below..

Do you have any idea about the issue? Is there any workaround that I may

backup all files (filesystems) in one tape in this situation.

Many thanks in advance..

Rgds,

Kenneth Cho

#!/usr/bin/sh

/usr/ucb/rsh backupserver /bin/mt -f /dev/rmt/0 rewind

/etc/rdump 0cuf backupserver:/dev/rmt/0n /

/etc/rdump 0cuf backupserver:/dev/rmt/0n /usr

/etc/rdump 0cuf backupserver:/dev/rmt/0n /export

/etc/rdump 0cuf backupserver:/dev/rmt/0n /export/swap

/etc/rdump 0cuf backupserver:/dev/rmt/0n /home

/etc/rdump 0cuf backupserver:/dev/rmt/0n /var

/etc/rdump 0cuf backupserver:/dev/rmt/0n /var/spool/mail

/usr/rsh backupserver /bin/mt -f /dev/rmt/0 offline

  DUMP: Date of this level 0 dump: Thu Oct 26 15:53:09 2000

  DUMP: Date of last level 0 dump: the epoch

  DUMP: Dumping /dev/rsd0a (/) to /dev/rmt/0n on host backupserver

  DUMP: mapping (Pass I) [regular files]

  DUMP: mapping (Pass II) [directories]

  DUMP: estimated 40248 blocks (19.65MB) on 0.46 tape(s).

  DUMP: dumping (Pass III) [directories]

  DUMP: dumping (Pass IV) [regular files]

  DUMP: level 0 dump on Thu Oct 26 15:53:09 2000

  DUMP: Tape rewinding

  DUMP: 40212 blocks (19.63MB) on 1 volume

  DUMP: DUMP IS DONE

  DUMP: Date of this level 0 dump: Thu Oct 26 15:54:05 2000

  DUMP: Date of last level 0 dump: the epoch

  DUMP: Dumping /dev/rsd0h (/usr) to /dev/rmt/0n on host backupserver

  DUMP: mapping (Pass I) [regular files]

  DUMP: mapping (Pass II) [directories]

  DUMP: estimated 774672 blocks (378.26MB) on 8.85 tape(s).

  DUMP: dumping (Pass III) [directories]

  DUMP: dumping (Pass IV) [regular files]

  DUMP: Tape rewinding

  DUMP: Change Volumes: Mount volume #2

  DUMP: NEEDS ATTENTION: Is the new volume mounted and ready to

go?: ("yes" or "

no") no

  DUMP: NEEDS ATTENTION: Do you want to abort?: ("yes" or "no") yes

  DUMP: The ENTIRE dump is aborted.

  DUMP: Date of this level 0 dump: Thu Oct 26 15:57:19 2000

  DUMP: Date of last level 0 dump: the epoch

  DUMP: Dumping /dev/rsd1d (/export) to /dev/rmt/0n on host backupserver

  DUMP: mapping (Pass I) [regular files]

  DUMP: mapping (Pass II) [directories]

  DUMP: estimated 1136 blocks (568KB) on 0.01 tape(s).

  DUMP: dumping (Pass III) [directories]

  DUMP: dumping (Pass IV) [regular files]

  DUMP: Interrupt received.

  DUMP: NEEDS ATTENTION: Do you want to abort dump?: ("yes" or "no") yes

  DUMP: The ENTIRE dump is aborted.

S

U BEFORE POSTING please READ the FAQ located at

N ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/faq

. and the list POLICY statement located at

M ftp://ftp.cs.toronto.edu/pub/jdd/sun-managers/policy

A To submit questions/summaries to this list send your email message to:

N sun-managers@codeprof.ececs.uc.edu

A To unsubscribe from this list please send an email message to:

G majordomo@codeprof.ececs.uc.edu

E and in the BODY type:

R unsubscribe sun-managers

S Or

. unsubscribe sun-managers original@subscription.address

L To view an archive of this list please visit:

I http://www.latech.edu/sunman.html

S

T

[5664 byte] By [CodeProf.com] at [2007-12-25 11:33:00]