06-24-2006
restore -Tqv should print the contents of the file 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), then 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
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
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
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
system is not booting ... i want to restore from mksysb backup. (2 Replies)
Discussion started by: AIXlearner
2 Replies
5. Shell Programming and Scripting
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
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
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
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
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
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
ANSITAPE(LOCAL) ANSITAPE(LOCAL)
NAME
ansitape - ANSI standard tape handler
SYNOPSIS
ansitape [key] [keyargs] [files]
DESCRIPTION
Ansitape reads and writes magnetic tapes written in ANSI standard format (called ``Files-11'' by DEC). Tapes written by ansitape are
labeled with the first 6 characters of the machine name by default. Actions are controlled by the key argument. The key is a string of
characters containing at most one function letter. Other arguments to the command are a tape label and file names specifying which files
are to be written onto or extracted from the tape.
The function portion of the key is specified by one of the following letters:
r The named files are written at the end of the tape. The c function implies this.
x The named files are extracted from the tape. If no file argument is given, the entire contents of the tape is extracted. Note
that if the tape has duplicated file names, only the last file of a given name can be extracted.
t The names of the specified files are listed each time they occur on the tape. If no file argument is given, all files on the tape
are listed.
c Create a new tape; writing begins at the beginning of the tape instead of after the last file. This command implies r.
The following characters may be used in addition to the letter which selects the function desired.
f This argument allows the selection of a different tape device. The next word in the keyargs list is taken to be the full name of a
device to write the tape on. The default is /dev/rmt12.
n The n option allows the user to specify as the next argument in the keyargs list, a control file containing the names of files to
put on the tape. If the file name is '-', the control file will, instead, be read from standard input. The control file contains
one line for each file to be placed on the tape. Each line has two names, the name of the file on the local machine, and the name
it is to have when placed on the tape. This allows for more convenient flattening of hierarchies when placing them on tape. If
the second name is omitted, the UNIX file name will be used on the tape also. This argument can only be used with the r and c
functions.
l The l option allows the user to specify the label to be placed on the tape. The next argument in the keyargs list is taken as the
tape label, which will be space padded or truncated to six characters. This option is meaningless unless c is also specified.
v Normally ansitape works relatively silently. The v (verbose) option causes it to type information about each file as it processes
it.
b The b option allows the user to select the blocksize to be used for the tape. By default, ansitape uses the maximum block size
permitted by the ANSI standard, 2048. Some systems will permit a much large block size, and if large files are being put on the
tape it may be advantageous to do so. Ansitape will take the next argument of the keyargs list as the blocksize for the tape.
Values below 18 or above 32k will be limited to that range. The standard scale factors b=512 and k=1024 are accepted.
Ansitape will not copy directories, character or block special files, symbolic links, sockets, or binary executables. Attempts to put
these on tape will result in warnings, and they will be skipped completely.
FILES
/dev/rmt12
DIAGNOSTICS
A warning message will be generated when a record exceeds the maximum record length and the affected file will be truncated.
BUGS
Ansitape quietly truncates names longer than 17 characters.
ANSI 'f' format files can be read but not written.
Multivolume tapes can not be handled.
4/10/85 UCB Local ANSITAPE(LOCAL)