문제

I created an instance of SQL Server 2012 Std Sp1 & Windows Server 2012 VM package on Windows Azure evaluation version.

Then I connected to the SQL Server running on Windows Azure using my local SQL Server 2012 (Evaluation copy) installed.

Question: when I try to restore a backup from a .bak file (C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\Database.bak) to SQL Server running on Windows Azure, it doesn't even list the above file under SQL Server Management Studio > Restore Database > Select Backup from a File > Add > locate Backup file.

What is that?

May I know how can I restore my backup file stored in my local PC to the SQL Server running on VM instance of Windows Azure?

도움이 되었습니까?

해결책

Have you copied the backup to the VM first? The view from within SQL Server Management Studio is that of the server's local disks. Copy the backup to the server (copy/paste using remote desktop works) and then restore as usual.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top