I am taking a fullbackup using
My Data directory are on local directory and I am taking backup on NFS mount point.
innobackupex --slave-info --safe-slave-backup /gwire_dw/extradbbackuptest/
please note : /gwire_dw/ is a netapp mount point
backup is successful.
next when I go to prepare the fullbackup
using
innobackupex --defaults-file=/etc/my.cnf --apply-log --use-memory=8G /gwire_dw/extradbbackuptest/2013-12-30_16-39-55
it fails
here is the prepare log
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona LLC and/or its affiliates 2009-2013. All Rights Reserved.
This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.
IMPORTANT: Please check that the apply-log run completes successfully.
At the end of a successful apply-log run innobackupex
prints “completed OK!”.
131230 21:16:10 innobackupex: Starting ibbackup with command: xtrabackup_55 --defaults-file=“/etc/my.cnf” --defaults-group=“mysqld” --prepare --target-dir=/gwire_dw/extradbbackuptest/2013-12-30_16-39-55 --use-memory=8G --tmpdir=/tmp
xtrabackup_55 version 2.1.5 for Percona Server 5.5.31 Linux (x86_64) (revision id: 680)
xtrabackup: cd to /gwire_dw/extradbbackuptest/2013-12-30_16-39-55
xtrabackup: This target seems to be not prepared yet.
xtrabackup: xtrabackup_logfile detected: size=3633463296, start_lsn=(1417494366104)
xtrabackup: using the following InnoDB configuration for recovery:
xtrabackup: innodb_data_home_dir = ./
xtrabackup: innodb_data_file_path = ibdata1:10M:autoextend
xtrabackup: innodb_log_group_home_dir = ./
xtrabackup: innodb_log_files_in_group = 1
xtrabackup: innodb_log_file_size = 3633463296
xtrabackup: using the following InnoDB configuration for recovery:
xtrabackup: innodb_data_home_dir = ./
xtrabackup: innodb_data_file_path = ibdata1:10M:autoextend
xtrabackup: innodb_log_group_home_dir = ./
xtrabackup: innodb_log_files_in_group = 1
xtrabackup: innodb_log_file_size = 3633463296
xtrabackup: Starting InnoDB instance for recovery.
xtrabackup: Using 8589934592 bytes for buffer pool (set by --use-memory parameter)
131230 21:16:17 InnoDB: The InnoDB memory heap is disabled
131230 21:16:17 InnoDB: Mutexes and rw_locks use GCC atomic builtins
131230 21:16:17 InnoDB: Compressed tables use zlib 1.2.3
131230 21:16:17 InnoDB: Initializing buffer pool, size = 8.0G
131230 21:16:17 InnoDB: Completed initialization of buffer pool
131230 21:16:17 InnoDB: highest supported file format is Barracuda.
InnoDB: Log scan progressed past the checkpoint lsn 1417494366104
131230 21:16:17 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files…
InnoDB: Doing recovery: scanned up to log sequence number 1417499608576 (0 %)
…
InnoDB: Doing recovery: scanned up to log sequence number 1420723979776 (99 %)
InnoDB: Doing recovery: scanned up to log sequence number 1420724108086 (99 %)
131230 21:17:30 InnoDB: Starting an apply batch of log records to the database…
InnoDB: Progress in percents: 0 1 2 3 4 5 6 7 8 9 10 11 131230 21:18:55 InnoDB: Assertion failure in thread 140345562953472 in file rem0rec.c line 569
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to 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: [url]http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html[/url]
InnoDB: about forcing recovery.
innobackupex: Error:
innobackupex: ibbackup failed at /usr/bin/innobackupex line 2517.
I checked these 2 lines from the log
xtrabackup: cd to /gwire_dw/extradbbackuptest/2013-12-30_16-39-55
xtrabackup: This target seems to be not prepared yet.
but this directory exists.
Please help I am trying this for last 2-3 days and its not working .