我試圖創建一個WindowsAzure備份,但我沒有成功,因爲只創建沒有數據的表結構。這是我所遵循的程序:如何在Windows Azure中創建備份
1.Select the database you want to back up in new portal of windows azure https://manage.windowsazure.com
2.In the footer you will have an option to import/export. Click export. This opens a modal popup. Select the storage account you want to use and type in a appropriate name to save the *.bacpac file.
3.Once the file is saved to storage, download it to local, open sql server 2012 management studio. Select the database server. Right click on it and in the context menu you will find Import Data-Tier Application. Select the bacpac file from you local and follow the settings.
如何創建備份並保存數據?
這將保持數據不會吧?他要求保留表格結構,但沒有數據。儘管要解決這個問題,我們只需手動刪除所有數據......不確定是否有更好的方法! – Arran 2013-03-07 16:04:24
我認爲保存數據是OP詢問的內容 - 「我如何創建備份並保存數據?」。如果不需要數據,則只需簡單地獲取模式即可。 – 2013-03-07 16:09:24
我完全沒有正確閱讀他原來的問題,所以你100%正確,+1!我在那裏度過了漫長的一天。 – Arran 2013-03-07 16:17:15