TwinDB Backup Tool Release 2.15.7
Some time ago, our team released a new version of TwinDB Backup Tool that contains minor fixed and some major improvements. In this article I want to highlight major features in this release. Status refactoring The tool stores backups metadata in a JSON file that I will refer further as the status. The status is […]
Monitoring MySQL Backups With Datadog and TwinDB Backup Tool
- ByMaksym Kryva•
- onJan 10, 2018•
- in Monitoring, MySQL Backup, TwinDB •
- tags backup, backup validation, datadog, monitoring, mysql, mysql monitoring, python integration, restore backup, xtrabackup
Monitoring MySQL backups is a vital part of any reliable backup solution. By monitoring the most common disaster recovery metrics, the Recovery Time Objective and the Recovery Point Objective, you can find out if a backup job was successful and produced a usable backup copy. The TwinDB Backup Tool along with Datadog allows monitoring both […]
Verify MySQL Backups With TwinDB Backup Tool
If you don’t verify backups you may safely assume you don’t have them. It often happens that MySQL backups can be invalid or broken due to a software bug, or some hidden corruption. If you are lucky enough, hours and days will be needed to resurrect a database from a bad backup copy. If you […]
How To Setup a Replication Slave With TwinDB Backup Tool
Setting up a replication slave is pretty straightforward, yet cumbersome process that needs a lot of attention to detail. Even if at first glance the six steps are simple, together they constitute something that is everything but easy to grasp. What’s Our Solution We decided to fix that. As a result, our very own TwinDB […]
How to Backup MySQL 5.7
If you ever tried to backup MySQL 5.7 with Percona Xtrabackup that comes in percona-xtrabackup package most likely you got error message like this:
# innobackupex ./
170623 05:58:43 innobackupex: Starting the backup operation
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
170623 05:58:44 version_check Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_group=xtrabackup' as 'dba' (using password: YES).
170623 05:58:44 version_check Connected to MySQL server
170623 05:58:44 version_check Executing a version check against the server...
170623 05:58:44 version_check Done.
170623 05:58:44 Connecting to MySQL server host: localhost, user: dba, password: set, port: not set, socket: not set
Error: Unsupported server version: '5.7.18-15'. Please report a bug at https://bugs.launchpad.net/percona-xtrabackup
This happens because percona-xtrabackup actually installs version 2.3 that doesn’t support MySQL 5.7. To take copies from MySQL 5.7 you need to use Percona XtraBackup version 2.4 and higher. Starting from […]
How To Encrypt MySQL Backups on S3
TwinDB Backup supports encrypted backup copies since version 2.11.0. As usual the tool supports natively backup and restore operations, if backup copies are encrypted the tool takes care of decryption.
TwinDB Talks On Percona Live 2016
Percona Live is Christmas in the MySQL world. Naturally, it’s the time when friends and family come together. Everyone is talking about achievements of the year and making New Year’s resolutions. TwinDB at Percona This year, TwinDB does two talks. One about data recovery and the other about backups. The first one will be a […]
Data Loss After MySQL Restart
Not so long ago, I had a customer who experienced data loss after a MySQL restart. It was really puzzling. MySQL was up & running for many months, but after the customer restarted the MySQL server all tables have gone. The tables were still visible in the SHOW TABLES output, but they were not readable:
mysql> show tables like 'actor';
| Tables_in_sakila (actor) |
| actor |
1 row in set (0.00 sec)
mysql> select * from actor;
ERROR 1146 (42S02): Table 'sakila.actor' doesn't exist
Building XtraBackup For Mac OS
First of all, Percona XtraBackup is a free and open source backup tool for MySQL. Percona distributes XtraBackup via package repositories for RedHat and Debian. Because there are no packages for Mac OS, in this post I will describe how to build XtraBackup for Mac OS. Dependencies So, to build and use XtraBackup on Mac OS you need […]
Xtrabackup And MySQL 5.6 On an Amazon Instance
Have you ever tried to install Xtrabackup on an Amazon EC2 instance with Oracle’s MySQL 5.6? Dependencies hell breaks loose when you ask for something as simple as running the GA version of MySQL and backing it up with the most popular open-source tool, XtraBackup. From this post you will learn how to resolve conflicts […]