backups not working with archive logging enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Medium
|
Vlad Lesin | ||
2.1 |
Fix Released
|
Medium
|
Vlad Lesin | ||
2.2 |
Fix Released
|
Medium
|
Vlad Lesin |
Bug Description
When trying to take a backup from PS-5.6.13-60.5 with Log archiving enabled I keep getting the error:
root@ps56:~# innobackupex /home/vagrant/
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.
130918 16:26:35 innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:
130918 16:26:35 innobackupex: Connected to MySQL server
IMPORTANT: Please check that the backup run completes successfully.
At the end of a successful backup run innobackupex
prints "completed OK!".
innobackupex: Using mysql server version 5.6.13-rc60.5
innobackupex: Created backup directory /home/vagrant/
130918 16:26:35 innobackupex: Starting ibbackup with command: xtrabackup_56 --defaults-
innobackupex: Waiting for ibbackup (pid=4296) to suspend
innobackupex: Suspend file '/home/
xtrabackup_56 version 2.1.3 for MySQL server 5.6.11 Linux (x86_64) (revision id: undefined)
xtrabackup: error: --archived-logs-dir and --to-archived-lsn can be used only with --prepare
innobackupex: Error: The xtrabackup child process has died at /usr/local/
Tested with current trunk build and the version available from daily XtraBackup repos
Related branches
- Alexey Kopytov (community): Approve
-
Diff: 67 lines (+48/-4)2 files modifiedsrc/xtrabackup.cc (+9/-4)
test/t/xb_bug_1227240.sh (+39/-0)
- Alexey Kopytov (community): Approve
-
Diff: 67 lines (+48/-4)2 files modifiedxtrabackup/src/xtrabackup.cc (+9/-4)
xtrabackup/test/t/xb_bug_1227240.sh (+39/-0)
Changed in percona-xtrabackup: | |
assignee: | nobody → Vlad Lesin (vlad-lesin) |
Hrvoje, I can not repeat it with the parameters you gave.
I tried to repeat in with the following xtrabackup options: /tmp/1/ percona- current/ data --suspend-at-end --defaults- group=" mysql" --tmp-dir=/tmp --inn file_size= 2M
./xtrabackup_56 --backup --target-dir=/tmp
/1/backup --datadir=
odb_log_
on PS-5.6.13 with the following options: /tmp/1/ percona- current --datadir= /tmp/1/ percona- current/ data --innodb_log_archi log_arch_ dir=/tmp/ 1/percona- current/ data --innodb- file-per- table --innodb_ log_file_ size=2M --in files_in_ group=5
bin/mysqld --no-defaults --gdb --basedir=
ve=ON --innodb_
nodb_log_
and it works ok.
So I need some additional data:
1) How do you build xtrabackup and PS?
2) Your my.cnf file.