- 論壇徽章:
- 5
|
sybase11.0.3 想用增量備份試一下,sybase增量備份要先做一下全備,備份過程沒問題,但是恢復(fù)的時(shí)候有個(gè)問題:
load tran testdbs from '/day/test.bak'
go
提示錯(cuò)誤信息:
Msg 4305, Level 16, State 1:
Line 1:
Specified file 'dump device' is out of sequence. Current time stamp is May 8
2013 9:11AM while dump was from May 8 2013 9:14AM.
我的全庫備份是在9:11的時(shí)候做的,增量備份手動(dòng)添加了幾條記錄,是在9:14做的備份,為什么恢復(fù)的時(shí)候提示我數(shù)據(jù)庫的時(shí)間戳在9:11,是因?yàn)槲一謴?fù)的時(shí)候時(shí)間戳也變成了9:11嗎?可是增量恢復(fù)的時(shí)候貌似都是要先做一個(gè)全庫恢復(fù)然后再使用增量備份恢復(fù),求解,網(wǎng)上找不到解決辦法,官方文檔寫的太無語,看了好幾遍都沒看到solution,有人做過sybase的增量備份嗎?
Error 4305
Severity
16
Message text
Specified file '%.*s' is out of sequence. Current time stamp is %S_DATE while dump was from %S_DATE.
Explanation
During a load transaction, Adaptive Server checks the timestamp on the dumped database and each dumped transaction log to determine whether the sequence is correct. If the load sequence of the transaction logs is incorrect, error 4305 occurs and the load fails.
If you are missing a transaction log dump, you can only restore up to the transaction log dump before the missing dump.
In addition, you cannot load multiple transaction log dumps that have been created with the no_truncate option. The no_truncate option assumes that nothing further will be done with the transaction log after that point: it is only useful for up-to-the-minute recovery of a database after failure of the data device. If you have used the no_truncate option and your database is still okay, do a dump database as soon as possible.
This error is serious as the load processing stops and the load transaction fails.
Action
Load the log backups in the same sequence in which they were made. Check your transaction log dumps to determine whether one was loaded out of order. If you find the correct dump, load it and continue with the rest of the dumps, in order.
Additional information
For more information, refer to “l(fā)oad transaction” in the Reference Manual: Commands.
Versions in which this error is raised
All versions |
|