ufsdump backup script

From: durgads@charteredsemi.com
Date: Thu Jun 03 2004 - 22:49:20 EDT


Hi,

I am running ufsdump backup on 90GB file system on L9 autoloader. The below
steps are used to backup:

1) used usfdump command "ufsdump 0ulf /dev/rmt/1cn /u06"
2) Once complete the backup on 1st tape, the L9 autoloader loades the 2nd
second tape itself
3) ufsdup will prompt for "yes/no"
UMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
`cspyms01:/dev/rmt/1cn' and ready to go?: ("yes" or "no")
4) type "yes"
5) backup is successfully completed

I would all above steps incorporate into the backup script, please help me.
Thanks.
**************************************************************************************
Backup screen out put
*******************************************************************************************************

# df -k |grep u06
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c2t5d2s0 104260576 94797336 8420635 92% /u06

# ufsdump 0ulf /dev/rmt/1cn /u06
  DUMP: Writing 32 Kilobyte records
  DUMP: Date of this level 0 dump: Mon May 31 09:01:07 2004
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c2t5d2s0 (cspyms01:/u06) to /dev/rmt/1cn.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Estimated 186933052 blocks (91275.90MB).
  DUMP: Dumping (Pass III) [directories]
  DUMP: Dumping (Pass IV) [regular files]
  DUMP: 2.91% done, finished in 5:34
  DUMP: 5.92% done, finished in 5:17
  DUMP: 9.01% done, finished in 5:03
  DUMP: 10.85% done, finished in 5:28
  DUMP: 12.82% done, finished in 5:39
  DUMP: 14.91% done, finished in 5:42
  DUMP: 16.77% done, finished in 5:47
  DUMP: 18.94% done, finished in 5:42
  DUMP: 21.39% done, finished in 5:30
  DUMP: 23.83% done, finished in 5:19
  DUMP: 26.67% done, finished in 5:02
  DUMP: 29.03% done, finished in 4:53
  DUMP: 31.73% done, finished in 4:39
  DUMP: 34.25% done, finished in 4:28
  DUMP: 36.98% done, finished in 4:15
  DUMP: 40.42% done, finished in 3:55
  DUMP: 43.07% done, finished in 3:44
  DUMP: 45.82% done, finished in 3:32
  DUMP: 48.67% done, finished in 3:20
  DUMP: 51.43% done, finished in 3:08
  DUMP: End-of-tape detected
  DUMP: Mounting volume #2 on cspyms01:/dev/rmt/1cn
  DUMP: 52.12% done, finished in 3:09
  DUMP: Change Volumes: Mount volume `#2' on `cspyms01:/dev/rmt/1cn'
  DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
`cspyms01:/dev/rmt/1cn' and ready to go?: ("yes" or "no")
  DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
`cspyms01:/dev/rmt/1cn' and ready to go?: ("yes" or "no")
  DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
`cspyms01:/dev/rmt/1cn' and ready to go?: ("yes" or "no")
  DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
`cspyms01:/dev/rmt/1cn' and ready to go?: ("yes" or "no")
  DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
`cspyms01:/dev/rmt/1cn' and ready to go?: ("yes" or "no")
  DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
`cspyms01:/dev/rmt/1cn' and ready to go?: ("yes" or "no")
  DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
`cspyms01:/dev/rmt/1cn' and ready to go?: ("yes" or "no")
  DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
`cspyms01:/dev/rmt/1cn' and ready to go?: ("yes" or "no")
  DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
`cspyms01:/dev/rmt/1cn' and ready to go?: ("yes" or "no")
  DUMP: NEEDS ATTENTION: Is the new volume (#2) mounted on
`cspyms01:/dev/rmt/1cn' and ready to go?: ("yes" or "no")
  yes
  DUMP: Volume 2 begins with blocks from inode 4540199
  DUMP: 52.12% done, finished in 3:09
  DUMP: 52.12% done, finished in 3:10
  DUMP: 54.92% done, finished in 2:58
  DUMP: 57.52% done, finished in 2:47
  DUMP: 60.03% done, finished in 2:37
  DUMP: 62.66% done, finished in 2:27
  DUMP: 65.55% done, finished in 2:15
  DUMP: 68.28% done, finished in 2:04
  DUMP: 70.44% done, finished in 1:56
  DUMP: 73.01% done, finished in 1:46
  DUMP: 75.80% done, finished in 1:34
  DUMP: 78.92% done, finished in 1:22
  DUMP: 83.02% done, finished in 1:04
  DUMP: 86.64% done, finished in 0:50
  DUMP: 90.35% done, finished in 0:35
  DUMP: 93.30% done, finished in 0:24
  DUMP: 96.28% done, finished in 0:13
  DUMP: 99.14% done, finished in 0:03
  DUMP: 186919870 blocks (91269.47MB) on 2 volumes at 4243 KB/sec
  DUMP: DUMP IS DONE
  DUMP: Level 0 dump on Mon May 31 09:01:07 2004

Regards,
Shanker Durgad,
IT Infrastructure & Operations,
Chartered Semiconductor Manufacturing Ltd.
DID : 63601749

[This e-mail is confidential and may also be privileged. If you are not the
intended recipient, please delete it and notify us immediately; you should
not copy or use it for any purpose, nor disclose its contents to any other
person. Thank you.]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:47 EDT