简体   繁体   English

恢复模式下的 SQL 数据库

[英]SQL Database in restoring mode

We have a database that we were doing a backup for, it has a TL of 550GB, I don't know why and how but it went in restoring mode.我们有一个要备份的数据库,它的 TL 为 550GB,我不知道为什么以及如何,但它进入了恢复模式。

Its been a couple of days now and its still in restoring mode.现在已经几天了,它仍然处于恢复模式。 What are my options to fix this?我有什么选择来解决这个问题?

What does take offline do?下线是做什么的?

I just want it back in the same state that it was in..我只是想让它恢复到原来的状态。。

Thanks谢谢

"Take offline" disconnects it from SQL Server. “脱机”将其与 SQL Server 断开连接。 You can try it, however if it thinks it's stuck in a restore, you probably won't be able to take it offline.您可以尝试一下,但是如果它认为它卡在恢复中,则您可能无法将其脱机。

After (if) "take offline" finishes, it will say "offline" and you can then select "Bring online" from the right click menu and bring it back online.在(如果)“脱机”完成后,它会说“脱机”,然后您可以从右键菜单中选择“联机”并将其重新联机。

I hope you have good backups besides the one it just tried to do.我希望除了它刚刚尝试做的备份之外,您还有良好的备份。 You may end up needing to do an actual restore if it's really hosed.如果它真的被冲洗掉了,你可能最终需要进行实际的恢复。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM