az mariadb backup
Manage Azure Database for MariaDB backups.
Command Usage
az mariadb backup restore --resource-group
                                     --server-name
                                     --restore-point-in-time
                                     [--ids]
                                     [--name]
                                     [--no-wait]
                                     [--query-examples]
                                     [--resource-group]
                                     [--server-name]
                                     [--subscription]
                                     [--target-name]
                                     [--target-resource-group]
            Description
The az mariadb backup restore command allows you to restore an Azure Database for MariaDB server to a specific point in time. This operation creates a new server with the data from the specified point in time.
Parameters
| Name | Description | Required | 
|---|---|---|
| --resource-group -g | Name of resource group. You can configure the default group using az configure --defaults group=<name>. | Yes | 
| --server-name -s | Name of the MariaDB server. | Yes | 
| --restore-point-in-time | Restore the server to this point in time. Format: YYYY-MM-DDTHH:MM:SSZ | Yes | 
| --ids | One or more resource IDs to reference. | No | 
| --name | Name of the new server. If not specified, the name of the original server will be used. | No | 
| --no-wait | Do not wait for the long-running operation to finish. | No | 
| --query-examples | Produce sample commands for the given operation. | No | 
| --subscription | Name or ID of subscription. | No | 
| --target-name | Name of the new server. If not specified, the name of the original server will be used. | No | 
| --target-resource-group | Name of the resource group for the new server. If not specified, the resource group of the original server will be used. | No | 
Examples
Restore a MariaDB server to a specific point in time:
az mariadb backup restore -g MyResourceGroup -s mydemoserver --restore-point-in-time 2023-01-01T10:00:00Z --name mydemoserver-restored --target-resource-group MyResourceGroup
            
            Restore a MariaDB server to a specific point in time without waiting for completion:
az mariadb backup restore -g MyResourceGroup -s mydemoserver --restore-point-in-time 2023-01-01T10:00:00Z --name mydemoserver-restored --no-wait