mehr_83
یک شنبه 19 مرداد 1393, 18:16 عصر
با سلام
من میخوام یک فایل بک آپ را در قالب چند تا دیتابیس با نام متفاوت ذخیره کنم.
از کد زیر استفاده می کنم
restore filelistonly from disk='c:\bk\biglink.bak'
restore database test2 from disk='c:\bk\biglink.bak'
with move 'biglink' to 'C:\bk\test2.mdf',
move 'biglink_log' to 'C:\bk\test2_log.ldf'
اما با خطای زیر مواجه میشم
Msg 3234, Level 16, State 2, Line 4
Logical file 'biglink' is not part of database 'test2'. Use RESTORE FILELISTONLY to list the logical file names.
Msg 3013, Level 16, State 1, Line 4
RESTORE DATABASE is terminating abnormally.
من میخوام یک فایل بک آپ را در قالب چند تا دیتابیس با نام متفاوت ذخیره کنم.
از کد زیر استفاده می کنم
restore filelistonly from disk='c:\bk\biglink.bak'
restore database test2 from disk='c:\bk\biglink.bak'
with move 'biglink' to 'C:\bk\test2.mdf',
move 'biglink_log' to 'C:\bk\test2_log.ldf'
اما با خطای زیر مواجه میشم
Msg 3234, Level 16, State 2, Line 4
Logical file 'biglink' is not part of database 'test2'. Use RESTORE FILELISTONLY to list the logical file names.
Msg 3013, Level 16, State 1, Line 4
RESTORE DATABASE is terminating abnormally.