Files
sql-server-samples/samples/features/t-sql-snapshot-backup

T-SQL Snapshot Backup

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

Contents

About this sample
Disclaimers

About this sample

  1. Applies to:
    • SQL Server 2022 (or higher) Evaluation / Developer / Enterprise editions.
  2. Key feature:
    • Create a T-SQL snapshot backup
    • Restore Databse from the snapshot backup
  3. Programming Language: PowerShell. T-SQL
  4. Authors: Perry Skountrianos [perryskou-msft]

Disclaimers

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.