In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-23 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.