You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By publishing and managing your APIs via Azure API Management, you're taking advantage of fault tolerance and infrastructure capabilities that you'd otherwise design, implement, and manage manually. The Azure platform mitigates a large fraction of potential failures at a fraction of the cost.
20
20
21
-
To recover from availability problems that affect your API Management service, be ready to reconstitute your service in another region at any time. Depending on your recovery time objective, you might want to keep a standby service in one or more regions. You might also try to maintain their configuration and content in sync with the active service according to your recovery point objective. The API management backup and restore capabilities provide the necessary building blocks for implementing disaster recovery strategy.
21
+
To recover from availability problems that affect withyour API Management service, be ready to reconstitute your service in another region at any time. Depending on your recovery time objective, you might want to keep a standby service in one or more regions. You might also try to maintain their configuration and content in sync with the active service according to your recovery point objective. The API management backup and restore capabilities provide the necessary building blocks for implementing disaster recovery strategy.
22
22
23
23
Backup and restore operations can also be used for replicating API Management service configuration between operational environments, for example, development and staging. Beware that runtime data such as users and subscriptions will be copied as well, which might not always be desirable.
Backup is a long-running operation that may take several minutes to complete. During this time the API gateway continues to handle requests, but the state of the service is Updating.
131
131
132
+
### [CLI](#tab/cli)
133
+
134
+
[Sign in](/cli/azure/authenticate-azure-cli) with Azure CLI.
135
+
136
+
In the following examples:
137
+
138
+
* An API Management instance named *myapim* is in resource group *apimresourcegroup*.
139
+
* A storage account named *backupstorageaccount* is in resource group *storageresourcegroup*. The storage account has a container named *backups*.
140
+
* A backup blob will be created with name *ContosoBackup.apimbackup*.
Backup is a long-running operation that may take several minutes to complete. During this time the API gateway continues to handle requests, but the state of the service is Updating.
163
+
132
164
### [REST](#tab/rest)
133
165
134
166
See [Azure REST API reference](/rest/api/azure/) for information about authenticating and calling Azure REST APIs.
Restore is a long-running operation that may take up to 45 minutes or more to complete.
263
295
296
+
### [CLI](#tab/cli)
297
+
298
+
In the following examples,
299
+
300
+
* An API Management instance named *myapim* is restored from the backup blob named *ContosoBackup.apimbackup* in storage account *backupstorageaccount*.
301
+
* The backup blob is in a container named *backups*.
0 commit comments