In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article will explain in detail what the SQL Server information about PlateSpin backup is like. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
When PlateSpin makes DR backups at the server level, the SQL Server log contains the information of "I was resumed on database xxx O is frozen on database xxxx" and "I was resumed on database xxx".
In fact, later found that when the PlateSpin job runs, you will find that the database will record a full backup of the database to Virtual Device in msdb.dbo.backupset. This is also a side evidence! Of course, more detailed, more in-depth aspects of the principle, knowledge points, due to the online PlateSpine information is not much, I do not have time to in-depth understanding. This is just a detail I found when I was collecting backup information. I wondered at that time that I didn't have a full backup or backup to a virtual device (Virtual Device) at that point. After looking for the reason, I found that this had something to do with PlateSpin. Here is a record!
SELECT CONVERT (CHAR, SERVERPROPERTY ('Servername')) AS servername, bs.database_name, bs.backup_start_date, bs.backup_finish_date, DATEDIFF (MINUTE,bs.backup_start_date, bs.backup_finish_date) AS backup_consume_time, bs.expiration_date CASE bs.type WHEN 'D'THEN' Full Backup' WHEN'I 'THEN' Diff Backup' WHEN'L' THEN 'Log Bacup' WHEN' F' THEN 'File Backup' WHEN' G' THEN 'File Diff' WHEN' P' THEN 'Partial Backup' WHEN' Q' THEN 'Partial Diff Backup' END AS backup_type CASE bf.device_type WHEN 2 THEN 'Disk' WHEN 5 THEN' Tape' WHEN 7 THEN 'Virtual Device' WHEN 105 THEN' permanent backup device' END AS backup_media, bs.backup_size/1024/1024/1024 AS [backup_size (GB)], bs.compressed_backup_size/1024/1024/1024 AS [compressed_backup_size (GB)] Bf.logical_device_name, bf.physical_device_name, bs.name AS backupset_name, bs.first_lsn, bs.last_lsn, bs.checkpoint_lsn, bs.descriptionFROM msdb.dbo.backupmediafamily bf INNER JOIN msdb.dbo.backupset bs ON bf.media_set_id = bs.media_set_idWHERE (DATETIME, bs.backup_start_date CAST ('2017-10-18 21 AND 00' AS DATETIME) AND (DATETIME, bs.backup_start_date, 102)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.