In this article, we will learn how we can backup and restore the SQL Database in CentOS. This article is the second article on the topic Manage SQL Server on CentOS. In my previous article, Install SQL Server on CentOS, we learned how we could install and create a SQL Database in CentOS.
Read more »Backup and restore
How to restore an Azure SQL Database
November 30, 2021I will explain how to restore an Azure SQL database in case you need to recover some data, or somebody has deleted your database in this article. Databases restore is the common activity a DBA performs in his day-to-day activities to meet various business requirements. We should also perform regular restores to ensure our backups are healthy and restorable in case of any emergency. Here, I will create an Azure SQL database named TestDB along with a table Employee inside this database and then recover them by restoring its automatic backups.
Read more »Understanding Backups for Azure SQL Database
November 18, 2021Azure SQL database is Database as a Service offering under the PaaS model in the Azure cloud. It is a fully managed SQL Server database engine that uses the latest stable version of SQL Server enterprise edition. This database service offers rich functionalities to increase the availability with the help of in-built high availability capability and reduce the manageability efforts by using easy and smooth deployments, automatic backup, and patching, etc. We generally use this deployment for modern cloud-compatible applications or if we want to leverage hyperscale or serverless options. This article will explain Azure SQL database backups to help you understand how backups work for these databases in the background and how can we use them for our data protection and recovery requirements.
Read more »Automate SQL database backups using Windows Task Scheduler
April 15, 2021In this article, we will learn how we can automate the backup of SQL database created in SQL Server Express edition. SQL Server Express edition is a lightweight database that has limited functionalities and resource allocation. The SQL Server Express edition does not support SQL Server Agent jobs, so it is tricky to automate various database administration tasks.
Read more »Configure long-term backup retention for Azure SQL database
March 25, 2021This article configures a long-term backup retention policy for Azure SQL Database.
Read more »Customizing Differential and Transaction Log backups
March 10, 2021Introduction
This article is dedicated to creating custom differential and Transaction log backups so that you will see sufficient data in the file size. In SQL Server there are mainly three backup types, Full Backup, Differential Backup, and Transactional Log backups. A Full backup will get the entire database into a backup.
Read more »Automate SQL database backups using Maintenance Plans
February 12, 2021In this article, we are going to learn how we can automate the backup of the SQL database using database maintenance plans. Data is one of the most important assets of any organization, and as a database administrator, it is our prime responsibility to protect it. There are various tools available that can be used to back up the data. These tools use state of the art technology to protect the data, and some of them are very costly. Instead of using these costly tools, some organizations prefer to use SQL native backups. These backups of SQL database can be automated by SQL Server Agent Jobs or Windows’ task scheduler.
Read more »Split native databases backup and restore for AWS RDS SQL Server from AWS S3 buckets
November 24, 2020In this article, we will explore how to split native backup and restore for AWS RDS SQL Server from the AWS S3 bucket.
Read more »Useful Considerations for SQL Server Disaster Recovery
October 27, 2020This article discusses useful considerations for SQL Server Disaster Recovery.
Read more »Fixing Error 601: Could not continue scan with NOLOCK due to data movement
October 21, 2020Data consistency errors are the nightmares of database administrators (DBAs) and when we notice “Could not continue scan with NOLOCK due to data movement” explanation in any error message, we are sure of getting in trouble. In this article, we will discuss the details of this data consistency problem.
Read more »Restore a SQL database from Windows SQL Server to SQL Server Linux instance
October 5, 2020Database professionals get the standard requirement for SQL database restores from production to non-production instances. As you know, SQL Server runs on the Linux and Windows operating systems starting from SQL Server 2016. Suppose you are exploring the SQL Server Linux instance features and configurations.
Read more »Suppress successful login and backups messages from the error log for SQL databases
September 28, 2020In this article, we will explore the method to suppress successful login and backups messages in the error log for SQL databases.
Read more »Explore Manual Snapshots in AWS RDS SQL Server
September 23, 2020In this article, we explore the use of manual snapshots in AWS RDS SQL Server.
Read more »Data Disaster Recovery with Log Shipping
September 22, 2020Introduction
In SQL Server, Log Shipping can be used to implement a Data disaster recovery mechanism. Typically, log shipping is used as a disaster recovery option which is implemented at many organizations due to its simplicity among many other factors.
Read more »Refresh SQL Server Always On Availability Group databases using DBATools PowerShell
September 21, 2020In the 20th article of the SQL Server Always On Availability Group series, we will explore the process to refresh an availability group database using SQL scripts. In this article, we will use the DBATools commands for this purpose.
Read more »Backup SQL databases on the AWS S3 bucket using Windows PowerShell
September 16, 2020In this article, we will explore taking backups of native SQL databases into the AWS S3 bucket.
Read more »Backup compression in TDE enabled databases in SQL Server Always On Availability Groups
September 16, 2020In the previous article, Transparent Data Encryption for SQL Server Always On Availability Groups, we discussed enabling TDE for the existing database in AG. In this article, we will explore options for a compressed backup of a TDE database.
Read more »Restore an existing availability group database participating in SQL Server Always On Availability Groups
September 8, 2020In this 20th article for the SQL Server Always On Availability Group series, we will cover the steps to restore an existing availability group database.
Read more »How to backup SQL databases to an FTP server using the SSIS FTP Task
August 26, 2020In this article, I am going to explain how we can upload the backup file to an FTP Server using the SSIS FTP task. For the demonstration, I have installed SQL Server 2017 on my workstation and restored the AdventureWorks2017 database.
Read more »Backup SQL databases to Azure using the database maintenance plan
August 6, 2020In this article, we are going to learn how we can back up the SQL database to Azure using a database maintenance plan. To demonstrate the process, I have restored the AdventureWorks2017 database on my workstation. I have created an Azure container named sqlbackups in my storage account.
Read more »Compress and split SQL database backups using WinRar
August 4, 2020Recently, we have received a strange request from our customer. They want us to set up a schedule a backup job that generates a backup of SQL database, compress the backup file in multiple compressed archive files (WinRAR files.) We tried to explain to the customer that the SQL Server native backups are capable of compressing the backup file, and it can split a large and compressed backup into multiple backup files. But they insisted us to use the WinRAR software to compress and split the backup.
Read more »Split SQL database backups into multiple backup files using SSMS
July 29, 2020In this article, I am going to explain how we can split the large backup file into multiple small backup files using SSMS 2016. I will also explain how we can combine multiple backups to restore a database and split the backup of the SQL database using SQL Server Management Studio (SSMS).
Read more »Backing up AWS RDS SQL Server databases with AWS Backup
July 21, 2020This article gives you an overview of creating backups of AWS RDS SQL Server database instances using AWS Backup service.
Read more »Refresh a SQL Database using the maintenance plan
July 2, 2020In this article, I am going to explain how we can refresh a SQL Database using the Maintenance plan. To demonstrate the process, I have configured two virtual machines. I have installed SQL Server 2016 on both. To refresh the SQL database on destination database server, we will generate a copy-only backup of the SQL database on source database server. I have created a network share directory. Both the source and destination server have the read-write permission on it. The backup file will be copied on a shared directory. Once the database is restored to the destination, we will delete the file from the network share directory.
Read more »How to backup and restore MySQL databases using the mysqldump command
May 12, 2020In this article, I am going to explain different ways to generate the backup in the MySQL database server. As we know, data is a valuable asset to the organization. As database administrators, it is our primary and crucial job to keep the data available and safe. If the system or data center fails, database corruption, and data loss, we must be able to recover it within the defined SLA.
Read more »