Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you don't want to lose any data, you have to stop using it for the moment of transfer. I can suggest you couple of ways:</p> <p>First way is to use the <a href="http://sqlazuremw.codeplex.com/" rel="nofollow">SQL Azure Migration Wizard</a>. Yes. Although it is originally designed to migrate your local SQL DB to SQL Azure, it can be used the other way around. I've done in numerous times. Just first point the migration wizard to your SQL Azure instance, then target the local server.</p> <p>Second way is to use the Azure SQL Database backup. <a href="http://msdn.microsoft.com/en-us/library/windowsazure/jj650016.aspx#import_export" rel="nofollow">Create a bacpac archive</a> either using the portal or via SSMS. Then <a href="http://msdn.microsoft.com/en-us/library/hh710052.aspx" rel="nofollow">import this BacPac package into your local SQL Server</a> instance.</p> <p>If you don't want downtime and want full data synchronization I will suggest doing the following:</p> <ol> <li>Move schema and data initially using any of the above methods (for live systems I highly recommend to first a new database AS COPY and then create the BacPac from it, or use the Migration wizard to transfer it).</li> <li>Enable the <a href="http://msdn.microsoft.com/en-us/library/hh456371.aspx" rel="nofollow">SQL Data Sync</a> to begin synchronizing local data with on-going live data.</li> <li>Wait while local is fully in sync.</li> <li>Switch the connection strings in your app.</li> <li>Cut down SQL Azure.</li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload