Export (0) Print
Expand All

Manually Deprovision a Database

Updated: February 12, 2014

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

 

SQL Azure Data Sync Icon

There may be times when you delete a database from a SQL Data Sync (Preview) sync group and the database does not fully deprovision. In such cases, you must manually deprovision the database. This topic walks you through manually deprovisioning a database after you removed it from all sync groups.

The Microsoft Azure SQL Data Sync plug-in on the Microsoft Azure Silverlight portal has been decommissioned. Going forward, use the Microsoft Azure Management portal, for Azure SQL Data Sync.

You access SQL Data Sync (Preview) via the SYNC tab under SQL Database at the Microsoft Azure Management portal. The SYNC tab is only available when you have one or more sync groups. See the topic How To: Create a Sync Group (SDS) for guidance on creating and modifying a sync group from this portal.

See the Navigation section below for links to topics you should read before you start and guidance on creating and modifying sync groups.

Modifications you can make to a sync group include:

Manually Deprovision a Database

A standalone executable is installed with the SQLDataSyncAgent-Preview-ENU.msi that you can use to de-provision the SQL Data Sync (Preview) objects that are created when you add a database or table to your synchronization service.

WarningWarning
If you deprovision a database that is a member of more than one sync group synchronizations for all sync groups which the database is associated fail since the database is no longer provisioned.

noteNote
If your topology does not include any SQL Server databases you need to install a client agent locally to get the deprovisioning tool.

 

Usage:

DeprovisioningUtil.exe <connectionstring> [/f]

<connectionstring>

Specifies the connection string of the SQL Server database or SQL Database instance to be deprovisioned.

[/f]

Deprovision without warning.

Examples:

SQL Server

deprovisioningutil "Server=(local);
Database=NorthWind;Trusted_Connection=True

SQL Database

deprovisioningutil
"Server=tcp:rwd3dyq2ym.database.windows.net;
Database=NorthwindAzure; User ID=<yourID>;
Password=<yourPassword>;
Trusted_Connection=False;" /f

Navigation

SQL Data Sync (Preview) is a feature of SQL Database. From the Azure Management portal you can perform all tasks necessary to create, deploy, and modify a sync group.

 

Before you start

Before you begin to design and implement your synchronizations, you should be familiar with these topics.

How to create a sync group

There are six steps to creating a sync group from the Azure Management portal. Details on each step can be found by following these links.

  1. Sign in to the Azure SQL Database Management portal
    SQL Data Sync (Preview) is found as a tab under SQL Database only after you create a sync group.

  2. Install a SQL Data Sync (Preview) Client Agent

  3. Register a SQL Server Database with a Client Agent

  4. Create your Sync Group (SDS)

  5. Define your sync data (SDS)

  6. Configure your sync group (SDS)

See Also

Community Additions

ADD
Show:
© 2014 Microsoft