亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 4382 | 回復(fù): 5
打印 上一主題 下一主題

sybase增量備份和恢復(fù)的問題 [復(fù)制鏈接]

論壇徽章:
5
未羊
日期:2013-09-05 17:46:19獅子座
日期:2014-01-06 14:40:28子鼠
日期:2014-01-21 15:19:17寅虎
日期:2014-02-07 17:59:08巨蟹座
日期:2014-03-05 16:17:19
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2013-05-08 09:38 |只看該作者 |倒序瀏覽
sybase11.0.3   想用增量備份試一下,sybase增量備份要先做一下全備,備份過程沒問題,但是恢復(fù)的時候有個問題:
load tran testdbs from '/day/test.bak'
go
提示錯誤信息:
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的時候做的,增量備份手動添加了幾條記錄,是在9:14做的備份,為什么恢復(fù)的時候提示我數(shù)據(jù)庫的時間戳在9:11,是因為我恢復(fù)的時候時間戳也變成了9:11嗎?可是增量恢復(fù)的時候貌似都是要先做一個全庫恢復(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

論壇徽章:
5
未羊
日期:2013-09-05 17:46:19獅子座
日期:2014-01-06 14:40:28子鼠
日期:2014-01-21 15:19:17寅虎
日期:2014-02-07 17:59:08巨蟹座
日期:2014-03-05 16:17:19
2 [報告]
發(fā)表于 2013-05-08 10:15 |只看該作者
找到哪做錯了,O__O"…  現(xiàn)在可以了。

論壇徽章:
4
2015年亞洲杯之巴勒斯坦
日期:2015-04-09 11:23:192015年亞洲杯之約旦
日期:2015-04-10 12:08:322015年亞洲杯之科威特
日期:2015-04-10 12:23:222015亞冠之首爾
日期:2015-07-07 16:11:03
3 [報告]
發(fā)表于 2013-05-08 16:38 |只看該作者
請把哪里出現(xiàn)的問題,怎么解決的。共享出來,謝謝

論壇徽章:
5
未羊
日期:2013-09-05 17:46:19獅子座
日期:2014-01-06 14:40:28子鼠
日期:2014-01-21 15:19:17寅虎
日期:2014-02-07 17:59:08巨蟹座
日期:2014-03-05 16:17:19
4 [報告]
發(fā)表于 2013-05-08 17:06 |只看該作者
本帖最后由 zy407321952 于 2013-05-08 17:06 編輯

回復(fù) 3# wang_xue_m


    是因為我執(zhí)行備份的時候使用了dump transaction testdbs with truncate_only來清除日志,查資料發(fā)現(xiàn)sybase增量備份是用日志來做的,所以導(dǎo)致增量備份無法恢復(fù)。

論壇徽章:
4
2015年亞洲杯之巴勒斯坦
日期:2015-04-09 11:23:192015年亞洲杯之約旦
日期:2015-04-10 12:08:322015年亞洲杯之科威特
日期:2015-04-10 12:23:222015亞冠之首爾
日期:2015-07-07 16:11:03
5 [報告]
發(fā)表于 2013-05-08 17:11 |只看該作者
要是不截斷日志的話,日志空間會滿,看來你得經(jīng)常做增量備份,備完,再截斷

論壇徽章:
5
未羊
日期:2013-09-05 17:46:19獅子座
日期:2014-01-06 14:40:28子鼠
日期:2014-01-21 15:19:17寅虎
日期:2014-02-07 17:59:08巨蟹座
日期:2014-03-05 16:17:19
6 [報告]
發(fā)表于 2013-05-09 09:56 |只看該作者
回復(fù) 5# wang_xue_m


    我又試了下,貌似跟dump transaction with truncate_only沒多大關(guān)系,我在執(zhí)行備份前后都執(zhí)行了該命令,沒問題,那天確實很奇怪,我也就多執(zhí)行了下這條命令就出現(xiàn)了時間戳不匹配的錯誤,我現(xiàn)在做增量備份只會在全備的時候使用這條命令來清除日志,現(xiàn)在應(yīng)該就沒問題了。
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP