Hi all,
I’m using innobackupex this way :
innobackupex --user=backups --password=xxxxxxxx --slave-info --safe-slave-backup --stream=tar /var/lib/mysql/tmp4backup | bzip2 | ssh somehost “cat > backupfile.tar.bz2”
Everything starts fine and goes on for 15 minutes, almost until the end :
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oyand Percona Inc 2009-2012. All Rights Reserved.This software is published underthe GNU GENERAL PUBLIC LICENSE Version 2, June 1991.120215 13:00:21 innobackupex: Starting mysql with options: --password=xxxxxxxx --user=‘backups’ --unbuffered --120215 13:00:21 innobackupex: Connected to database with mysql child process (pid=2265)120215 13:00:27 innobackupex: Connection to database server closedIMPORTANT: Please check that the backup run completes successfully. At the end of a successful backup run innobackupex prints “completed OK!”.innobackupex: Using mysql Ver 14.14 Distrib 5.1.41, for debian-linux-gnu (x86_64) using readline 6.1innobackupex: Using mysql server version Copyright 2000-2008 MySQL AB, 2008 Sun Microsystems, Inc.Warning: option ‘innodb_autoextend_increment’: unsigned value 52428800 adjusted to 1000innobackupex: Created backup directory /var/lib/mysql/tmp4backup120215 13:00:27 innobackupex: Starting mysql with options: --password=xxxxxxxx --user=‘backups’ --unbuffered --120215 13:00:27 innobackupex: Connected to database with mysql child process (pid=2318)120215 13:00:29 innobackupex: Connection to database server closed120215 13:00:29 innobackupex: Starting ibbackup with command: xtrabackup_51 --backup --suspend-at-end --log-stream --target-dir=/var/lib/mysql/tmpinnobackupex: Waiting for ibbackup (pid=2326) to suspendinnobackupex: Suspend file '/var/lib/mysql/tmp/xtrabackup_suspended’Warning: option ‘innodb_autoextend_increment’: unsigned value 52428800 adjusted to 1000xtrabackup: suspend-at-end is enabled.xtrabackup: uses posix_fadvise().xtrabackup: cd to /var/lib/mysqlxtrabackup: Target instance is assumed as followings.xtrabackup: innodb_data_home_dir = ./xtrabackup: innodb_data_file_path = ibdata1:10M:autoextendxtrabackup: innodb_log_group_home_dir = ./xtrabackup: innodb_log_files_in_group = 2xtrabackup: innodb_log_file_size = 268435456xtrabackup: Stream mode.>> log scanned up to (190 953622505)120215 13:00:31 innobackupex: Continuing after ibbackup has suspendedinnobackupex: Starting to backup InnoDB tables and indexesinnobackupex: from original InnoDB data directory '/var/lib/mysql’innobackupex: Backing up as tar stream ‘ibdata1’>> log scanned up to (190 953625957)>> log scanned up to (190 953658449)>> log scanned up to (190 953680268)
[many more log lines like this]
and then finally :
log scanned up to (190 957269630)120215 13:14:04 innobackupex: Starting mysql with options: --password=xxxxxxxx --user=‘backups’ --unbuffered --120215 13:14:04 innobackupex: Connected to database with mysql child process (pid=4931)>> log scanned up to (190 957301085)innobackupex: Error: mysql child process has died: ERROR 1045 (28000) at line 4: Access denied for user ‘backups’@‘localhost’ (using password: YES) while waiting for reply to MySQL request: ‘STOP SLAVE SQL_THREAD;’ at /usr/bin/innobackupex line 349.
Obviously the credentials haven’t changed since it started successfully, and I can manually connect with them right after getting this message.
What’s the problem here ?
Thanks for any help !