- 论坛徽章:
- 0
|
想测试一下ontape -r 恢复的,可做下来是这样的,不知什么问题啊?
P570A_persist:[/informix]$ oninit
P570A_persist:[/informix]$ onstat -
IBM Informix Dynamic Server Version 9.40.UC6 -- On-Line -- Up 00:00:13 -- 2115104 Kbytes
P570A_persist:[/informix]$ ontape -s -L 0
Please mount tape 1 on /dev/rmt0 and press Return to continue ...
10 percent done.
20 percent done.
100 percent done.
Please label this tape as number 1 in the arc tape sequence.
This tape contains the following logical logs:
1
Program over.
P570A_persist:[/informix]$ onmode -ky
P570A_persist:[/informix]$ ontape -r
Please mount tape 1 on /dev/rmt0 and press Return to continue ...
Archive Tape Information
Tape type: Archive Backup Tape
Online version: IBM Informix Dynamic Server Version 9.40.UC6
Archive date: Sat Dec 27 10:52:05 2008
User id: informix
Terminal id: /dev/pts/1
Archive level: 0
Tape device: /dev/rmt0
Tape blocksize (in k): 64
Tape size (in k): 819200000
Tape number in series: 1
Spaces to restore:1 [rootdbr
]
Archive Information
Archive Information
IBM Informix Dynamic Server Copyright(C) 1986-2004 IBM Informix Software, Inc.
Initialization Time 12/27/2008 10:21:49
System Page Size 4096
Version 13
Archive CheckPoint Time 12/27/2008 10:51:53
Dbspaces
number flags fchunk nchunks flags owner name
1 1 1 1 N informix rootdbr
Chunks
chk/dbs offset size free bpages flags pathname
1 1 0 500000 481178 PO-- /dev/rrootdbr
Continue restore? (y/n)y
Do you want to back up the logs? (y/n)n
Physical restore failed - could not fork server connection, SQLCODE -908
Program over.
P570A_persist:[/informix]$ |
|