Comment 4 for bug 1227240

Revision history for this message
Miguel Angel Nieto (miguelangelnieto) wrote :

How to reproduce:

[mysqld]
datadir=/var/lib/mysql
innodb_log_archive=1
innodb_log_arch_dir=/archived_logs

and then just run:

# innobackupex /backups/

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.

131013 13:16:05 innobackupex: Connecting to MySQL server with DSN 'dbi:mysql:;mysql_read_default_group=xtrabackup' (using password: NO).
131013 13:16:05 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-rc61.0

innobackupex: Created backup directory /backups/2013-10-13_13-16-05

131013 13:16:05 innobackupex: Starting ibbackup with command: xtrabackup_56 --defaults-group="mysqld" --backup --suspend-at-end --target-dir=/backups/2013-10-13_13-16-05 --tmpdir=/tmp
innobackupex: Waiting for ibbackup (pid=25978) to suspend
innobackupex: Suspend file '/backups/2013-10-13_13-16-05/xtrabackup_suspended_2'

xtrabackup_56 version 2.1.5 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/bin/innobackupex line 2579.