发新话题
打印

lp 空间 asp mssql 数据库还原出错,恭请版主指导。

lp 空间 asp mssql 数据库还原出错,恭请版主指导。

原mssql 版本sql2005 ,本机备份后 25m 大小,

方法一 ,
通过 控制面板Control Panel-Go to plesk-Databases-Database Backup Repository-选择已经上传 的 25m的备份文件-点击Restore Selected-出现以下错误
Warning: All existing database data will be replaced by data from restored backup file.
Warning: dbbackup_server_backup_not_configured〔似乎这个是症结〕

Database will be restored from backup file  
Confirm the restoration  〔此行前面小框 无法选中,灰色,至此,还原无法进行了〕

方法二,
控制面板,进入MyLittleAdmin Tool (Kendal)-输入数据库名字,用户名,密码,进入-tools-Restore Wizard (Web Hosting)- 浏览 选中本地备份文件〔25m〕-点击restore database-15分钟后,出现:
============================================
.Net SqlClient Data Provider

File 'E:\logs\shop21_2003_log.LDF' is claimed by 'sysft_E_SA'(65537) and 'E_SA_log'(2). The WITH MOVE clause can be used to relocate one or more files.
RESTORE DATABASE is terminating abnormally.

USE [master]
GO

ALTER DATABASE [shop21_2003]
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE
GO

RESTORE DATABASE [shop21_2003]
FROM DISK=N'\\64.50.161.5\dbupload\633823076301446067_shop2003'
WITH RECOVERY
, REPLACE
, MOVE N'sysft_E_SA' TO N'E:\logs\shop21_2003_log.LDF'
, MOVE N'E_SA_log' TO N'E:\logs\shop21_2003_log.LDF'
, MOVE N'E_SA' TO N'D:\data\shop21_2003.mdf'
, NOUNLOAD, STATS = 10
GO

ALTER DATABASE [shop21_2003]
SET MULTI_USER
GO
======================================
还原失败。

请教版主,这两个方法都对吗?
         是哪里出问题了?

万份感谢!!

TOP

周末,版主不在。自己顶。

周末,版主不在 。自己顶。

TOP

是不是你数据库太大了

TOP

发新话题