Informix/informix reference
Salvaging Logical-log files using ontape
@ipajama
2011. 4. 28. 17:54
728x90
인포믹스 엔진이 내려간 상태에서 logical log를 백업할 수 있는데 이를 log salvage라고 부른다.
이는 ontape -r 명령을 수행할 때도 확인하는데 logical log를 백업받지 않았을 때 사용한다.
직접 수행하려면 ontape -S 명령을 수행한다.
예제)
/data/skjeong/ids115fc8/backup$ ontape -S
Do you want to back up the logs? (y/n)y
Please mount tape 1 on /data/skjeong/ids115fc8/backup/ontape.lbak and press Return to continue ...
Would you like to back up any of logs 24 - 26? (y/n) y
Logical logs 24 - 26 may be backed up.
Enter the id of the oldest log that you would like to backup? 24
Read/Write End Of Medium enabled: blocks = 7
Please label this tape as number 1 in the log tape sequence.
This tape contains the following logical logs:
24 - 26
Program over.
728x90