Sponsored Content
Full Discussion: Backup and restore
Operating Systems AIX Backup and restore Post 302077647 by bootnix on Saturday 24th of June 2006 12:32:54 AM
Old 06-24-2006
restore -Tqv should print the contents of the tape to your term session, but sounds as if you've already gone down that road... is it possible that you've generated the backup on one machine and are trying to read it on another? If so, verify that you have the blocksize set correctly. If the tape was created on a machine with blocksize set to 512 bytes (if my memory isn't failing me this setting is mandatory for mksysb creation / restore to work correctly and possibly also savevg), then my understanding has always been that the blocksize on the machine reading the tape must also be 512. The command: "lsattr -El rmt0" should tell you the tape drive setting (assuming tape drive is rmt0, change device name if appropriate), and chdev -a blksize=512 -l rmt0 should set it correctly. Apologies if the commands are not exactly correct as working from memory with no AIX host immediately available.

Hope this helps >< bOOtnix
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cannot restore a TAR backup

I backed up a unix database using "tar -cvf /dev/rmt1 -N 800 /*" Normally I would restore this using "tar -xvf /dev/rmt1 -N 800" This is reporting an error about "not enough memory" I have done a new test backup and restore using the same commands and they work. ANY IDEAS ? (2 Replies)
Discussion started by: Ross.Goodman
2 Replies

2. Solaris

Backup / restore

Hi.... everyone could help me to understand how to do a backup of my servers .. operating systems is sun solaris 8 . I have some question about .... 1) Is better backup phisical disk or partition ??? i sow the command is ufsdump 0cfu /expbck/bcksunver/c0t0d0s5 dev/dsk/c0t0d0s5 to... (4 Replies)
Discussion started by: tt155
4 Replies

3. HP-UX

F-Backup restore

Hello! i have a blank harddrive and a complete tape backup of the workstation. the backup is made with F-Backup. Now my question is: how can i restore my workstation? thanks for every idea! paul tittel hup-si (3 Replies)
Discussion started by: paultittel
3 Replies

4. AIX

How to restore from mksysb backup

system is not booting ... i want to restore from mksysb backup. (2 Replies)
Discussion started by: AIXlearner
2 Replies

5. Shell Programming and Scripting

Backup/restore scripts

hi people i am in need of some assistance here hoping to star a linux course in january to wanted to get some experiance before starting so got a hold of some old assessments from a mate at college so just working through them in my spare time for the past 8 weeks or so and this is the final ? that... (2 Replies)
Discussion started by: boabbyrab
2 Replies

6. Shell Programming and Scripting

Backup and restore in unix

Hello everybody, i am trying to make a script in UNIX to backup some compressed files to a tape drive. The thing is that i cannot use cpio command because some of these files are greater than 2GB. so i think the only solution left is backup command. to restore the files i should use the... (6 Replies)
Discussion started by: omonoiatis9
6 Replies

7. AIX

Backup and restore

Hi experts, i got a question. i have a production server with two Volume Group(VG) which are rootvg and datavg. Both of these VGs are 256 PP SIZE. On Disaster Recovery Server (DR server) contains two empty hardisks for restoring rootvg and datavg from production server. This two hardisks are... (7 Replies)
Discussion started by: polar
7 Replies

8. Solaris

Zpool backup and restore

hi, my requirement goes something like this: In current setup, we have SPARC server running Solaris10 5/08. Out of 3 HDD available, 2 HDD (other than root) were zpool-ed and 3 zones were created. Now, we have bought a new server with similar H/W config and planning to move the zones... (1 Reply)
Discussion started by: EmbedUX
1 Replies

9. Red Hat

Backup / Restore

Hi, I need to back up a RH file system (96G). The files are oracle .dbf format some of which are 5G in size. I know that tar has got a size restriction of 2G so I cannot use this. Can anyone recommend an alternative way of backuping up this FS? I have been looking at dump but this... (6 Replies)
Discussion started by: Duffs22
6 Replies

10. AIX

Backup and restore query

I have some old directories and files that I which to archive off. I have created archive using -p option with /usr/sbin/backup to a file. If I then do a du -g on the original directory and the archive differ as I'd expect due to using the p flag to compress the files < 2gb as part of the backup. ... (1 Reply)
Discussion started by: gefa
1 Replies
tz(4)							     Kernel Interfaces Manual							     tz(4)

Name
       tz - SCSI magnetic tape interface

Syntax
       VAX NCR 5380:
	 adapter      uba0    at nexus?
	 controller   scsi0   at uba0	 csr 0x200c0080  vector szintr
	 tape	      tz0     at scsi0	 drive 0

       VAX DEC SII:
	 adapter      ibus0   at nexus?
	 controller   sii0    at ibus?	 vector sii_intr
	 tape	      tz0     at sii0	 drive 0

       RISC DEC SII:
	 adapter      ibus0   at nexus?
	 controller   sii0    at ibus?	 vector sii_intr
	 tape	      tz0     at sii0	 drive 0

       RISC DEC KZQ:
	 adapter      uba0    at nexus?
	 controller   kzq0    at ibus? csr 0761300vector sii_intr
	 tape	      tz0     at kzq0	 drive 0

       RISC NCR ASC:
	 adapter      ibus0   at nexus?
	 controller   asc0    at ibus?	 vector ascintr
	 tape	      tz0     at asc0	 drive 0

Description
       The SCSI tape driver provides a standard tape drive interface as described in This is a driver for any Digital SCSI tape device.

       For  the  TZK10	QIC  format tape drive, the densities supported are QIC-24 (read only) block size of 512 byte blocks, QIC-120, and QIC-150
       read/write block size of 512 byte blocks, and QIC-320 read/write block size of 1024 byte blocks.  With QIC format style tapes all reads and
       writes  must  be  in  multiple  of the block size.  This is a requirement of fixed block tape drives because record boundaries are not pre-
       served.	The QIC densities are selected using the following special device names:

	 QIC-24 Fixed block size.
	 QIC-120 Fixed block size.
	 QIC-150 Fixed block size.
	 QIC-320 Fixed block size.

       With all fixed block tape devices a of a file to the tape must be padded out.  An example of this is a of which has a size of approximately
       3800 bytes.
       dd if=/etc/gettytab of=/dev/rmt0h bs=10k conv=sync
	 or
       dd if=/etc/gettytab of=/dev/rmt0l bs=512 conv=sync
       The option of pads the output to block size.

       This  driver  also  supports  n-buffered  reads	and  writes  to the raw tape interface (used with streaming tape drives).  See for further
       details.

Tape Support
       TZ30, TZK50, TLZ04, TSZ05, TKZ08, TZK10

Diagnostics
       All diagnostic messages are sent to the error logger subsystem.

Files
See Also
       mtio(4), nbuf(4), SCSI(4), MAKEDEV(8), uerf(8), tapex(8)
       Guide to the Error Logger

																	     tz(4)
All times are GMT -4. The time now is 09:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy