All posts by Alex

How to Enable Binary Logging for MySQL Server on Windows

To perform MySQL Server incremental backups, binary logs should be enabled and correctly set. Otherwise, you will see one of the following error messages:

Failed to backup “mysql” database with “Full” backup type: ​​​​​​​[DBMS-MYSQL:11015#1]​​​​​​​​​​ Unexpected binary log format. Current value: “MIXED”, expected value: “ROW”. Log in to the DBMS using the MySQL official client or other tools and run the statement to update the binary log format: set global binlog_format = ‘ROW’;

Failed to backup “mysql” database with “Incremental” backup type: ​​​​​​​​[DBMS-MYSQL:11014#1]​​​​​​​​ Binary log is not enabled. Current value of “log_bin” variable: “OFF”. Expected value: “ON”.

Continue reading How to Enable Binary Logging for MySQL Server on Windows

Command Line Arguments to Manage an Installation

Assume you need to clone your server and you have an image, for example, an AMI (Amazon Machine Image) in AWS with installed SQLBackupAndFTP Free edition. Once you deploy this image on several servers and apply your license key to activate SQLBackupAndFTP, that license key will be applied to all your servers. When you decide to remove your license from one of the servers, the license will be removed from all of them. Also, you can face the issue that the license will not work if you activate a license for one server on all your cloned servers. Continue reading Command Line Arguments to Manage an Installation

How to Automate MySQL Database Backups in Windows

Preservation of data is an essential part of any business. Losing a database, such as a customer list, could effectively be the end of a company. The primary way to protect your data is to regularly back it up.

In this article, we will explain how to automate regular backups for MySQL on Windows. If you use Linux, check out this article: How to Automate MySQL Database Backups in Linux.

Continue reading How to Automate MySQL Database Backups in Windows

How to clone SQL SERVER database to a Test Environment

It doesn’t matter if a company is large or small, almost every database administrator needs to maintain a copy of the production databases in a test environment for testing and development needs.

All you need to do for this is to copy the databases from the production server to a test server, and this can be done in different ways. Let’s take a look at them. Continue reading How to clone SQL SERVER database to a Test Environment

How to automate maintenance of your databases

Maintenance of your databases is as important as regular backups. Once scheduled backups are set, the thought may appear that your data is safe and sound and it is, until a problem appears.

As a rule, databases don’t crash completely, but there may be a sharp decrease in performance because of server laсk of disk space or any other issues that can corrupt databases. That’s why it’s highly recommended not only to perform regular backups of your databases but also maintain them. Continue reading How to automate maintenance of your databases

How to backup and restore Amazon RDS SQL Server

Amazon RDS SQL Server is a cloud database from Amazon, one of its differences from classic SQL Server is the way it performs backups. RDS SQL Server does not support the T-SQL BACKUP DATABASE construction but instead offers several other approaches such as restore point-in-time, snapshots, native backup to S3, and Export Data-tier Application.

Here are ways to perform a backup and restore:

  1. Snapshot creation
  2. Native backup to S3
  3. Export bacpac\dacpac
  4. Via SQLBackupAndFTP

Continue reading How to backup and restore Amazon RDS SQL Server

Scheduled Restore. How to Set Up Log Shipping

Log Shipping is SQL Server technology that is available in both the Standard and Enterprise editions. The technology may be useful in solving the following problems:

  1. Creation of read-only servers to perform heavy SQL queries and reduce the load on the primary server
  2. Creating backup servers that can be quickly put into operation in the case of a primary server failure
  3. Creating a secondary (slave) server, where data is updated with a fixed delay

Continue reading Scheduled Restore. How to Set Up Log Shipping