CmdID / az / az sql / az sql db
az sql db ltr-backup
Manage SQL database long term retention backups. Azure CLI reference
9 commands 4 options Its page in the Azure CLI reference
Commands
deleteDelete a long term retention backup.listList the long term retention backups for a location, server or database.lock-time-based-immutabilityLock the time based immutability on a long term retention backup to prevent deletion.remove-legal-hold-immutabilityRemove a legal hold on the long term retention backup database.remove-time-based-immutabilitydisable the time based immutability on a long term retention backup.restoreRestore a long term retention backup to a new database.set-legal-hold-immutabilitySet a legal hold on the long term retention backup database.showGet a long term retention backup for a database.waitPlace the CLI in a waiting state until a condition of the database is met.Options
--database, -dName of the Azure SQL Database.--location, -lThe location of the desired backups.--name, -nThe name of the LTR backup.--server, -sName of the Azure SQL Server.