# Innobackupex hot backup not working with MDB

**URL:** <https://forums.percona.com/t/innobackupex-hot-backup-not-working-with-mdb/3321>\
**Category:** Percona XtraBackup\
**Created:** [March 8, 2014, 12:00pm UTC](https://forums.percona.com/t/innobackupex-hot-backup-not-working-with-mdb/3321 "2014-03-08T12:00:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![avecsi](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@avecsi](https://forums.percona.com/u/avecsi)\
**Post date:** [March 8, 2014, 12:00pm UTC](https://forums.percona.com/t/innobackupex-hot-backup-not-working-with-mdb/3321/1 "2014-03-08T12:00:06Z")

</div>

140308 17:15:43 mysqld\_safe Starting mysqld daemon with databases from /var/lib/mysql  
140308 17:15:43 InnoDB: The InnoDB memory heap is disabled  
140308 17:15:43 InnoDB: Mutexes and rw\_locks use GCC atomic builtins  
140308 17:15:43 InnoDB: Compressed tables use zlib 1.2.3.4  
140308 17:15:43 InnoDB: Using Linux native AIO  
140308 17:15:43 InnoDB: Initializing buffer pool, size = 128.0M  
140308 17:15:43 InnoDB: Completed initialization of buffer pool  
140308 17:15:43 InnoDB: highest supported file format is Barracuda.  
InnoDB: The log sequence number in ibdata files does not match  
InnoDB: the log sequence number in the ib\_logfiles!  
140308 17:15:43 InnoDB: Database was not shut down normally!  
InnoDB: Starting crash recovery.  
InnoDB: Reading tablespace information from the .ibd files…  
InnoDB: Restoring possible half-written data pages from the doublewrite  
InnoDB: buffer…  
140308 17:15:43 InnoDB: Error: page 7 log sequence number 8815032505408  
InnoDB: is in the future! Current system log sequence number 8486834232844.  
InnoDB: Your database may be corrupt or you may have copied the InnoDB  
InnoDB: tablespace but not the InnoDB log files. See  
InnoDB: [http://dev.mysql.com/doc/refman/5.5/](http://dev.mysql.com/doc/refman/5.5/)…-recovery.html  
InnoDB: for more information.  
140308 17:15:43 InnoDB: Error: page 1 log sequence number 8897132771723  
InnoDB: is in the future! Current system log sequence number 8486834232844.  
InnoDB: Your database may be corrupt or you may have copied the InnoDB  
InnoDB: tablespace but not the InnoDB log files. See  
InnoDB: [http://dev.mysql.com/doc/refman/5.5/](http://dev.mysql.com/doc/refman/5.5/)…-recovery.html  
InnoDB: for more information.  
140308 17:15:43 InnoDB: Error: page 0 log sequence number 8900637682380  
InnoDB: is in the future! Current system log sequence number 8486834232844.  
InnoDB: Your database may be corrupt or you may have copied the InnoDB  
InnoDB: tablespace but not the InnoDB log files. See  
InnoDB: [http://dev.mysql.com/doc/refman/5.5/](http://dev.mysql.com/doc/refman/5.5/)…-recovery.html  
InnoDB: for more information.  
140308 17:15:43 InnoDB: Error: page 196634 log sequence number 8900682298693  
InnoDB: is in the future! Current system log sequence number 8486834232844.  
InnoDB: Your database may be corrupt or you may have copied the InnoDB  
InnoDB: tablespace but not the InnoDB log files. See  
InnoDB: [http://dev.mysql.com/doc/refman/5.5/](http://dev.mysql.com/doc/refman/5.5/)…-recovery.html  
InnoDB: for more information.  
140308 17:15:43 InnoDB: Error: page 196609 log sequence number 8773012819505  
InnoDB: is in the future! Current system log sequence number 8486834232844.  
InnoDB: Your database may be corrupt or you may have copied the InnoDB  
InnoDB: tablespace but not the InnoDB log files. See  
InnoDB: [http://dev.mysql.com/doc/refman/5.5/](http://dev.mysql.com/doc/refman/5.5/)…-recovery.html  
InnoDB: for more information.  
140308 17:15:43 InnoDB: Assertion failure in thread 139788521494400 in file fsp0fsp.c line 1994  
InnoDB: Failing assertion: n != ULINT\_UNDEFINED  
InnoDB: We intentionally generate a memory trap.  
InnoDB: Submit a detailed bug report to [http://bugs.mysql.com](http://bugs.mysql.com).  
InnoDB: If you get repeated assertion failures or crashes, even  
InnoDB: immediately after the mysqld startup, there may be  
InnoDB: corruption in the InnoDB tablespace. Please refer to  
InnoDB: [http://dev.mysql.com/doc/refman/5.5/](http://dev.mysql.com/doc/refman/5.5/)…-recovery.html  
InnoDB: about forcing recovery.  
140308 17:15:43 [ERROR] mysqld got signal 6 ;  
This could be because you hit a bug. It is also possible that this binary  
or one of the libraries it was linked against is corrupt, improperly built,  
or misconfigured. This error can also be caused by malfunctioning hardware.

To report this bug, see [URL][http://kb.askmonty.org/en/reporting-bugs[/URL]](http://kb.askmonty.org/en/reporting-bugs%5B/URL%5D)

We will try our best to scrape up some info that will hopefully help  
diagnose the problem, but since we have already crashed,  
something is definitely wrong and this may fail.

Server version: 5.5.36-MariaDB-1~precise-log  
key\_buffer\_size=67108864  
read\_buffer\_size=131072  
max\_used\_connections=0  
max\_threads=1002  
thread\_count=0  
It is possible that mysqld could use up to  
key\_buffer\_size + (read\_buffer\_size + sort\_buffer\_size)\*max\_threads = 2263780 K bytes of memory  
Hope that’s ok; if not, decrease some variables in the equation.

Thread pointer: 0x0x0  
Attempting backtrace. You can use the following information to find out  
where mysqld died. If you see no messages after this, something went  
terribly wrong…  
stack\_bottom = 0x0 thread\_stack 0x30000  
/usr/sbin/mysqld(my\_print\_stacktrace+0x2b)[0x7f230db5f37b]  
/usr/sbin/mysqld(handle\_fatal\_signal+0x471)[0x7f230d785ca1]  
/lib/x86\_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7f230c617cb0]  
/lib/x86\_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7f230b63e425]  
/lib/x86\_64-linux-gnu/libc.so.6(abort+0x17b)[0x7f230b641b8b]  
/usr/sbin/mysqld(+0x70cc4d)[0x7f230d9c4c4d]  
/usr/sbin/mysqld(+0x711cd3)[0x7f230d9c9cd3]  
/usr/sbin/mysqld(+0x69b8cf)[0x7f230d9538cf]  
/usr/sbin/mysqld(+0x6d7e41)[0x7f230d98fe41]  
/usr/sbin/mysqld(+0x6d8b98)[0x7f230d990b98]  
/usr/sbin/mysqld(+0x6727bc)[0x7f230d92a7bc]  
/usr/sbin/mysqld(+0x62ccb0)[0x7f230d8e4cb0]  
/usr/sbin/mysqld(\_Z24ha\_initialize\_handlertonP13st\_plugin\_in t+0x48)[0x7f230d788bc8]  
/usr/sbin/mysqld(+0x39722b)[0x7f230d64f22b]  
/usr/sbin/mysqld(\_Z11plugin\_initPiPPci+0x689)[0x7f230d651839]  
/usr/sbin/mysqld(+0x3035a9)[0x7f230d5bb5a9]  
/usr/sbin/mysqld(\_Z11mysqld\_mainiPPc+0x514)[0x7f230d5c0774]  
/lib/x86\_64-linux-gnu/libc.so.6(\_\_libc\_start\_main+0xed)[0x7f230b62976d]  
/usr/sbin/mysqld(+0x2fe6e9)[0x7f230d5b66e9]  
The manual page at [URL][http://dev.mysql.com/doc/mysql/en/crashing.html[/URL]](http://dev.mysql.com/doc/mysql/en/crashing.html%5B/URL%5D) contains  
information that should help you find out what is causing the crash.  
140308 17:15:43 mysqld\_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

Hi All,  
I created my backup:  
innobackupex --defaults-extra-file=/etc/mysql/my.cnf --host=localhost --password= --socket=/var/run/mysqld/mysqld.sock /mnt/tempbackup/

rsynced to the replication box:  
rsync -avz --progress

restoring:  
innobackupex --copy-back /mnt/tempdisk/

innobackupex: Starting to copy InnoDB system tablespace  
innobackupex: in ‘/mnt/tempdisk’  
innobackupex: back to original InnoDB data directory ‘/var/lib/mysql’  
innobackupex: Copying ‘/mnt/tempdisk/ibdata1’ to ‘/var/lib/mysql/ibdata1’

innobackupex: Starting to copy InnoDB undo tablespaces  
innobackupex: in ‘/mnt/tempdisk’  
innobackupex: back to ‘/var/lib/mysql’

innobackupex: Starting to copy InnoDB log files  
innobackupex: in ‘/mnt/tempdisk’  
innobackupex: back to original InnoDB log directory ‘/var/lib/mysql’  
innobackupex: Finished copying back files.

140308 17:47:40 innobackupex: completed OK!

chown mysql:mysql -R /var/lib/mysql

Master box:  
innobackupex --version  
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy

mysql --version  
mysql Ver 14.14 Distrib 5.5.35, for debian-linux-gnu (x86\_64) using readline 6.2

Slave box:  
innobackupex --version  
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy

mysql --version  
mysql Ver 15.1 Distrib 5.5.36-MariaDB, for debian-linux-gnu (x86\_64) using readline 5.1

Did I miss something?

Regards,  
Andrew

---

<div class="post-metadata">

**Author:** ![avecsi](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@avecsi](https://forums.percona.com/u/avecsi)\
**Post date:** [March 10, 2014, 6:16am UTC](https://forums.percona.com/t/innobackupex-hot-backup-not-working-with-mdb/3321/2 "2014-03-10T06:16:16Z")

</div>

If I install Percona-server I got the same error message:  
140310 11:40:54 InnoDB: Error: page 7 log sequence number 8815032505408  
InnoDB: is in the future! Current system log sequence number 8486834232844.  
InnoDB: Your database may be corrupt or you may have copied the InnoDB  
InnoDB: tablespace but not the InnoDB log files. See  
InnoDB: [url][http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html[/url]](http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html%5B/url%5D)  
InnoDB: for more information.

Package: percona-server-server-5.5  
New: yes  
State: installed  
Automatically installed: yes  
Version: 1:5.5.35-rel33.0-611.precise

mysql --version  
mysql Ver 14.14 Distrib 5.5.35, for Linux (x86\_64) using readline 5.1

The DB size is 120GB, could that be a problem?

With 1 and 2 GB database size I was able to set up the replication with xtrabackup help.
