This code sample demonstrates an end-to-end solution of backing up and restoring a database in an Azure SQL IaaS Virtual Machine using the T-SQL snapshot backup capabilities introduced in SQL Server 2022
- Applies to:
- SQL Server 2022 (or higher) Evaluation / Developer / Enterprise editions.
- Key feature:
- Create a T-SQL snapshot backup
- Restore Databse from the snapshot backup
- Programming Language: PowerShell. T-SQL
- Authors: Perry Skountrianos [perryskou-msft]
The code included in this sample is not intended to be a set of best practices on how to build scalable enterprise grade applications. This is beyond the scope of this quick start sample.