Skip to content

Commit 0ad8d70

Browse files
authored
Remark on automated backups
Remark on automated backups
1 parent 0e741c6 commit 0ad8d70

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/relational-databases/system-tables/backupset-transact-sql.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: "backupset (Transact-SQL)"
33
title: "backupset (Transact-SQL) | Microsoft Docs"
44
ms.custom: ""
5-
ms.date: "06/10/2016"
5+
ms.date: "12/24/2020"
66
ms.prod: sql
77
ms.prod_service: "database-engine, pdw"
88
ms.reviewer: ""
@@ -29,7 +29,6 @@ monikerRange: ">=aps-pdw-2016||>=sql-server-2016||>=sql-server-linux-2017||=azur
2929

3030
This table is stored in the **msdb** database.
3131

32-
3332
|Column name|Data type|Description|
3433
|-----------------|---------------|-----------------|
3534
|**backup_set_id**|**int**|Unique backup set identification number that identifies the backup set. Identity, primary key.|
@@ -96,10 +95,10 @@ monikerRange: ">=aps-pdw-2016||>=sql-server-2016||>=sql-server-linux-2017||=azur
9695
|**encryptor_thumbprint**|**varbinary(20)**|The thumbprint of the encryptor which can be used to find certificate or the asymmetric key in the database. In the case where the backup was not encrypted, this value is NULL.|
9796
|**encryptor_type**|**nvarchar(32)**|The type of encryptor used: Certificate or Asymmetric Key. . In the case where the backup was not encrypted, this value is NULL.|
9897

99-
## Remarks
100-
RESTORE VERIFYONLY FROM *backup_device* WITH LOADHISTORY populates the column of the **backupmediaset** table with the appropriate values from the media-set header.
101-
102-
To reduce the number of rows in this table and in other backup and history tables, execute the [sp_delete_backuphistory](../../relational-databases/system-stored-procedures/sp-delete-backuphistory-transact-sql.md) stored procedure.
98+
## Remarks
99+
- RESTORE VERIFYONLY FROM *backup_device* WITH LOADHISTORY populates the column of the **backupmediaset** table with the appropriate values from the media-set header.
100+
- To reduce the number of rows in this table and in other backup and history tables, execute the [sp_delete_backuphistory](../../relational-databases/system-stored-procedures/sp-delete-backuphistory-transact-sql.md) stored procedure.
101+
- For SQL Managed Instance, backupset table only shows the backup history for user-initiated [Copy-Only backups](../../relational-databases/backup-restore/copy-only-backups-sql-server.md). The backupset table does not show backup history for automatic backups performed by the service.
103102

104103
## See Also
105104
[Backup and Restore Tables (Transact-SQL)](../../relational-databases/system-tables/backup-and-restore-tables-transact-sql.md)

0 commit comments

Comments
 (0)