查看 SQL 服务器中的当前 Azure 托管备份配置
View current Azure Managed Backups configuration in SQL Server
我继承了使用 Azure 托管备份的 SQL Server 2008 数据库(带有 2016 msdb 数据库)。数据库处于简单恢复模式。
每五分钟备份一次运行。生成的查询是 BACKUP DATABASE TO URL 并且似乎每次都在进行完整备份。
我有两个问题似乎没有出现在 MS 文档中:
对于处于简单恢复模式的 SQL Server 2008 数据库,managed_backup.sp_backup_config_schedule
上的 @log_backup_freq
参数是否会导致执行完整备份而不是日志备份?没关系,我只是想确认一下。
如何查看当前的 azure 托管备份配置?有各种存储过程可以创建备份和设置参数,但我找不到一个可以查看当前配置的。 SSMS (17.2) 中似乎没有显示这些设置。
- For SQL Server 2008 databases in Simple recovery mode, is the @log_backup_freq parameter on managed_backup.sp_backup_config_schedule causing a full backup to be performed instead of the log backup? This is OK, I would just like to confirm.
请参考文档managed_backup.sp_backup_config_schedule (Transact-SQL):
@log_backup_freq
这决定了事务日志备份的频率。这些备份定期进行,而不是按照为数据库备份指定的时间表进行。 @log_backup_freq可以是分钟或小时,0:00有效,表示没有日志备份。禁用日志备份只适用于具有简单恢复模型的数据库。
不会造成完全备份。
- How can I view the current azure managed backup configuration? There are various stored procedures to create backups and set the parameters, but I can't find one to view the current configuration. Nothing in SSMS (17.2) seems to show these settings.
使用此存储过程查看或确定 SQL 服务器实例的当前 SQL 服务器管理备份到 Microsoft Azure 默认配置设置。
managed_backup.fn_backup_db_config ()
参考:managed_backup.fn_backup_instance_config (Transact-SQL)
希望对您有所帮助。
我继承了使用 Azure 托管备份的 SQL Server 2008 数据库(带有 2016 msdb 数据库)。数据库处于简单恢复模式。
每五分钟备份一次运行。生成的查询是 BACKUP DATABASE TO URL 并且似乎每次都在进行完整备份。
我有两个问题似乎没有出现在 MS 文档中:
对于处于简单恢复模式的 SQL Server 2008 数据库,
managed_backup.sp_backup_config_schedule
上的@log_backup_freq
参数是否会导致执行完整备份而不是日志备份?没关系,我只是想确认一下。如何查看当前的 azure 托管备份配置?有各种存储过程可以创建备份和设置参数,但我找不到一个可以查看当前配置的。 SSMS (17.2) 中似乎没有显示这些设置。
- For SQL Server 2008 databases in Simple recovery mode, is the @log_backup_freq parameter on managed_backup.sp_backup_config_schedule causing a full backup to be performed instead of the log backup? This is OK, I would just like to confirm.
请参考文档managed_backup.sp_backup_config_schedule (Transact-SQL):
@log_backup_freq
这决定了事务日志备份的频率。这些备份定期进行,而不是按照为数据库备份指定的时间表进行。 @log_backup_freq可以是分钟或小时,0:00有效,表示没有日志备份。禁用日志备份只适用于具有简单恢复模型的数据库。
不会造成完全备份。
- How can I view the current azure managed backup configuration? There are various stored procedures to create backups and set the parameters, but I can't find one to view the current configuration. Nothing in SSMS (17.2) seems to show these settings.
使用此存储过程查看或确定 SQL 服务器实例的当前 SQL 服务器管理备份到 Microsoft Azure 默认配置设置。
managed_backup.fn_backup_db_config ()
参考:managed_backup.fn_backup_instance_config (Transact-SQL)
希望对您有所帮助。