How to list files in AIX 3.2 mksysb backup tape


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems AIX How to list files in AIX 3.2 mksysb backup tape
# 1  
How to list files in AIX 3.2 mksysb backup tape

Hi,

Can anyone tell how to list files in a AIX 3.2 mksysb backup tape.


Thanks!
Victor Cheung
# 2  
Quote:
Originally Posted by victorcheung
Hi,

Can anyone tell how to list files in a AIX 3.2 mksysb backup tape.


Thanks!
Victor Cheung
To list files on any mksysb tape do the following:

tctl -f /dev/rmt0.1 fsf 3 (This assumes the tape drive is where the mksysb is stored and .1 is the non rewind device the fsf 3 winds the tape past the header information.)

Then

restore -tvqf /dev/rmt0[.1] (for non rewind use the .1)

All of the above assumes that the tape drive characteristics are set to match the way the tape was written too.
# 3  
Quote:
Originally Posted by johnf
[...]
restore -tvqf /dev/rmt0[.1] (for non rewind use the .1)
[...]
You are right when positioning the tape drive. However, AFAIK AIX 3.2 stored mksysb in tar format. So the OP would rather
# tar -tvf /dev/rmt0.1
# 4  
Hi,

I have got the following error when trying to list the content:

# tctl -f /dev/rmt0.1 fsf 3
# restore -tvqf /dev/rmt0
restore: 0511-123 The volume on /dev/rmt0 is not in backup format.
Mount volume 1 on /dev/rmt0.
Press the Enter key to continue.

# tar -tvf /dev/rmt0
tar: 0511-169 A directory checksum error on media; -559038737 not equal to 1726.

Can you please help?

Thanks!!
Victor Cheung
# 5  
Quote:
Originally Posted by victorcheung
[...]
# tar -tvf /dev/rmt0
tar: 0511-169 A directory checksum error on media; -559038737 not equal to 1726.[...]
If you accessed the data at the right position and the tape and/or the data on the tape is not damaged itself I could think of a problem with the tape block size. If the person who did the backup was nice, he put it on the tape label. If there is not information about the block size I would configure the tape to use variable block size (0).
Furthermore you could try the -i parameter of tar to skip broken files or use pax that can read tar format but is more forgiving when it comes to archive errors. Also gnu tar from the AIX Linux Toolbox might be worth a try.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #589
Difficulty: Medium
A binary search algorithm requires that the array being searched is sorted in descending order.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

AIX 7.2 MKSYSB Backup and Restore Best Practices?

Hello, Running AIX 7.2 on Power9 bare-metal (no LPAR and no NIM server), in the process of creating a guide on MKSYSB process. I understand that MKSYSB is a backup of the rootvg and we can exclude stuff via exclude.rootvg file, the rest of the data volumes are mapped to the system as LUNs via... (7 Replies)
Discussion started by: c3rb3rus
7 Replies

2. UNIX for Beginners Questions & Answers

How to copy a 2 Volume mksysb backup to a single tape?

Hi, I have an mksysb backup which consists of 2 Volume, how do I combine it into a single Volume or tape ? Appreciate it (1 Reply)
Discussion started by: AIXBlueCat
1 Replies

3. AIX

Listing tape in AIX | backup taken from windows

Hi, We have backup on LTO-3 tape it was taken from windows via windows backup utility, now the issue is that we want to list the content of tape in aix 6.1. Kindly help. Regards Salman (3 Replies)
Discussion started by: salmanraza
3 Replies

4. AIX

aix installation from mksysb tape

Hello, I am trying to install a server from a mksysb made on an other server but whit his proper image.data and bosinst.data, but after selecting boot from DLT tape and starting installation in normal mode with default setting, I get this error message : error / warning there is no disk... (2 Replies)
Discussion started by: astjen
2 Replies

5. Solaris

Backup files to tape drive on solaris

Hi, I want to take backup of files older than 20 days from a directory onto a tape drive on remote machine on Solaris. The files are of format abc-20100301000000.gz on my local machine. I know the below commands for searching files older than x days and command for backup procedure. solar1 #... (7 Replies)
Discussion started by: jyothi_wipro
7 Replies

6. AIX

AIX 5.3 & Veritas Backup with Tape Library

hello, I am facing this problem when trying to prepare AIX 5.3 for Veritas Backup: Veritas Software is not able to communicate properly with our tape library When we tried to run these commands here's the output # cfgmgr -l fscsi0 # cfgmgr -l fscsi2 # cfgmgr -l fscsi1 cfgmgr:... (3 Replies)
Discussion started by: filosophizer
3 Replies

7. AIX

Backup script for Aix without tape mount

Hi, My situation is to write a backup script for AIX server which doesnt have a tape mounted. They have created a folder on windows so that all AIX backup files can be moved to that windows folder where they will put these AIX backup files on a tape. Appreciate help. Regards dsrules. (7 Replies)
Discussion started by: dsrules
7 Replies

8. AIX

AIX Tape Drive Backup

Currently I have a Dell Ultrium LTO 2 Tape Drive. I am going to have a IBM AIX server. Just wonder if it is possibe to connect this tape drive to the aix server? I have Brightstor Arcserver installed on another win 2003 server. Is it possible to install the arcserve agent on the aix and use the... (1 Reply)
Discussion started by: ming413
1 Replies

9. UNIX for Advanced & Expert Users

AIX 4.3 mksysb tape incomplete

anybody knows how to recover from a tape in AIX 4.3 from a IBM rs6000 170 system backup done only 97% ? (0 Replies)
Discussion started by: jupiter8
0 Replies

10. UNIX for Dummies Questions & Answers

AIX + backup or mksysb (yes i did a search)

Whats up guys. I dont ask many questions but this time i need a quick one answerd. NOS: AIX 4.3.3 and 4.3.2 BOX: RS/6000 F50 i have 12 pv's (mirrored) and 2 vg's and i want them both backed up @ once on one tape drive so i can do it via cron. I have looked at mksysb and backup. my main... (5 Replies)
Discussion started by: Optimus_P
5 Replies

Featured Tech Videos