SQL SERVER – 7 Important Things to Remember While Taking Effective Backup
In this blog post we will discuss 7 points to remember while taking effective backup for SQL Server. Always take backup during off business hours, as backup operations generate IO activities. Take...
View ArticleSQL SERVER – What Are Ghost Records and How to Clean Them Up?
What are Ghost Records and How to Clean Them Up? I loved this question when I received it last week in my SQL Server Performance Tuning Practical Workshop. Well, in simple possible words – Ghost...
View ArticleSQL SERVER – How to Enable Backup Compression On by Default
In this blog post we will discuss how to Enable Backup Compression on by default. SQL Server 2008 had introduced compressed backup features and nowadays I see quite often enabled at most of my...
View ArticleSQL SERVER – How to Delete a Single Table From SQL Server Backup File (.bak)
Question: How to Delete a Single Table From SQL Server Backup File (.bak)? Answer: It is not possible by directly editing the backup file .bak. I had actually heard this question during a recent...
View ArticleSQL SERVER – 5 Don’ts When Database Corruption is Detected
Here is an email I received about database corruption and that has lead me to write this quick blog post about database corruption. “Hi Pinal, We learned that our database got corrupted. Once we...
View ArticleSQL SERVER – RETAINDAYS Does Not Delete Backup After x Days
Just the other day one of my customers asked me that they are facing a situation where they have specified in their backup script RETAINDAYS option but it is actually not deleting their older database...
View ArticleSQL SERVER – Msg 3013 – Cannot Create Worker Thread. BACKUP LOG is...
One of my clients sent email to know my quick suggestion on one of the error messages. Let us learn how to fix error related to worker thread. Cannot create worker thread. BACKUP LOG is terminating...
View ArticleSQL SERVER – Msg 3225: Use of WITH CREDENTIAL Syntax is Not Valid for...
One of my blog readers was having trouble with backup to URL using SAS token. He followed my below blog to fix his issue. SQL SERVER – Backup to URL error: Operating system error 50(The request is not...
View ArticleSQL SERVER – FIX: Msg 3009 – Could Not Insert a Backup or Restore History...
While preparing for a demo session for my client, I was playing with SQL Server backups on my lab server. I encountered an error which I am going to blog here. Here is the error about backup or restore...
View ArticleSQL SERVER – What is Tail-Log Backups?
A prevalent question since many years often resurfaces in my mailbox. I am writing this blog here so in the future, I can direct users to this blog posts when they ask about Tail-Log Backups. Tail-Log...
View ArticleSQL SERVER – Fix Error 3271: A nonrecoverable I/O error occurred on file. The...
One of my blog readers contacted me via email for an error message which he was receiving while using the backup to URL feature. Using this feature, SQL Server can take database backup directly to...
View ArticleSQL SERVER – Fix Error 3271: A nonrecoverable I/O error occurred on file. The...
In SQL Server one error message can be caused due to many reasons. One of such error message is 3271 which is caused during failure of backup to URL command. Here are two earlier blogs about same error...
View ArticleSQL SERVER – Identify Version of SQL Server from Backup File
One question I always ask all of my customers before I start Comprehensive Database Performance Health Check is that if they have taken backup of their server. The answer to this question honestly does...
View ArticleSQL SERVER – FIX: Msg 3231 – The Media Loaded on “Backup” is Formatted to...
While preparing for a demo for my upcoming session, I encountered an interesting error. I thought I have written a blog about it, but I was wrong. My earlier blog was about a different error which...
View ArticleSQL SERVER – PowerShell Script – Delete Old Backup Files in SQL Express
If you have worked with various SQL Server editions, then you would know that SQL Server Express edition does not have SQL Server Agent service. Due to this, we lose capabilities to automate a lot of...
View ArticleSQL SERVER – Restore Database Wizard in SSMS is Very Slow to Open
Recently I was hired for my On Demand (55 minutes) Service by an organization and they had a very interesting situation. To be very honest, I was initially lost for few moments when they described this...
View ArticleSQL SERVER – DPM Backup Failure – E_COORD_LOG_CHAIN_BROKEN – The Backup...
If you are a SQL DBA then this blog might be a quick refresher for you. I am writing this for Data Protection Manager (DPM) Administrators who are not aware of the cause of the issue. In this blog, we...
View ArticleHow to Find Last Full Backup Time and Size for Database? – Interview Question...
Question: How to Find Last Full Backup Time and Size for Database? Answer: What makes me unhappy during any of my Comprehensive Database Performance Health Check is DBA and Developers often not taking...
View ArticleSQL SERVER – Backup to Microsoft Azure Tool – ERROR: Account Verification Failed
I have been seeing many customers moving their SQL Server to Cloud. Few of them have chosen Microsoft Azure platform to host their production server and few others have selected other cloud platforms...
View ArticleSQL SERVER – Backup to URL – Script to Generate the Create Credential and...
Backup to URL is one of the common methods used in SQL Server perform backup to Azure Blob Storage. In this blog, I am going to share a script to generate the create credential and backup command using...
View Article