Skip to content

Export database backup from STACKIT S3 bucket from SQLServer Flex

In order to follow the steps described on this page, the following conditions need to be met:

The stored procedure can be used on the STACKIT Flex SQLServer instances (Single and HA).
You can use any SQL Server query execution tool that can execute T-SQL against an SQL Server, e. g. SQL Server Management Studio, Azure Data Studio, or PowerShell.

  • Databases can be exported with the stored procedure [msdb].[stackit].[export_database].

  • Parameter description. The procedure accepts various parameters

    Example:

    EXEC [msdb].[stackit].[export_database]
    @database_name = 'demo_db_1'
    , @s3_url='s3://object.storage.eu01.onstackit.cloud/[FOLDER_NAME]'
    , @s3_access_key_id = 'abc123'
    , @s3_secret_key_id = 'xyz321'