ITEM: R5267L
Can't restore a single file from a sysback full system backup remotely
Question:
Response:
Env:
AIX 3.2.5
Sysback 3.1.0.34
Desc:
Customer did a full system backup to a remote device
using the sysback command with this syntax
sysback -f /dev/rmt0 -h \
and is trying to just restore a single file from this
backup. The backup is in rootvg part of the tape and she
does it through smit:
smitty sysback
Backup & Restore Options
Full System (Installation Image)
Restore Files from Full System Backup
And get the following error message:
Not in compressed format
No writer on input pipe
Also the customer tries running this from the
command line:
sysrestore -f/dev/rmt0 -h \ -v rootvg ./files
Gets the same error message as above.
This is after it sees the header file and is actually
trying to retrieve the file.
Action:
First get the block size of the fifth image which is the
rootvg data
1. login into the server as root
(where the tape drive is located at)
2. chdev -l rmtX -a block_size=512
3. tctl -f /dev/rmtX rewind
4. cd /
5. restore -s4 -xvqf /dev/rmtX.1 ./tmp/...blksz
6. cd /tmp
7. cat ...blksz (contains the block size of the fifth
sixth ... images)
8. chdev -l rmtX -a block_size=\
Now read the header information on the 5th image which is
the rootvg image on this tape
9. tctl -f /dev/rmtX rewind
10. tctl -f /dev/rmtX.1 fsf 4
11. sbread -H /dev/rmtX.1
This should give the stat information on the image
The PACK will be either Y or N
12. If Y then do this:
sbread /dev/rmtX.1 | sbuncomp | restore -Tvqf-
If N then do this:
sbread /dev/rmtX.1 | restore -Tvqf-
This worked for the customer
After looking in the sysrestore script I found this to be
a bug with the sysrestore script.
Response:
It is a bug with sysrestore script
The customer can do this to fix the problem
On the client and server do this:
cd /usr/sbin
vi sysrestore
Go to line 390
Delete this line:
"/usr/sbin/sbuncomp | \\"
Also you can send the fix to the customer
sysback ver 3.1.0.40 or higher
Response:
Electronic Response by Customer Barry Switzer
This is just a test of appending an item.
Support Line: Can't restore a single file from a sysback full system backup remotely ITEM: R5267L
Dated: February 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:37
Comments or suggestions?
Contact us