Announcement

Announcement Module
Collapse
No announcement yet.

Xtrabackup on Debian 7

Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Xtrabackup on Debian 7

    Has anyone got the latest xtrabackup working on Debian Wheezy?
    I had to use Debian 7 due to my hardware...and at this point I have been unable to it working as it does on Squeeze.

    I will post some more specific errors later on today, but I wanted to know if anyone else had done it first.

    Thanks in advance,

    Shain

  • #2
    Here is some more information:

    root@server1:/usr/local/src/percona-xtrabackup-2.0.6/bin# innobackupex-1.5.1 --defaults-file=/etc/mysql/my.cnf /backups/binary/

    InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy and Percona Ireland Ltd 2009-2012. All Rights Reserved.

    This software is published under the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.

    130501 14:32:19 innobackupex-1.5.1: Starting mysql with options: --defaults-file='/etc/mysql/my.cnf' --unbuffered --
    130501 14:32:19 innobackupex-1.5.1: Connected to database with mysql child process (pid=28411)
    130501 14:32:25 innobackupex-1.5.1: Connection to database server closed

    IMPORTANT: Please check that the backup run completes successfully.
    At the end of a successful backup run innobackupex-1.5.1
    prints "completed OK!".


    innobackupex-1.5.1: Using mysql Ver 14.14 Distrib 5.6.10, for linux-glibc2.5 (x86_64) using EditLine wrapper
    Warning: Using a password on the command line interface can be insecure.
    innobackupex-1.5.1: Using mysql server version Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

    innobackupex-1.5.1: Created backup directory /backups/binary/2013-05-01_14-32-25
    130501 14:32:25 innobackupex-1.5.1: Starting mysql with options: --defaults-file='/etc/mysql/my.cnf' --unbuffered --
    130501 14:32:25 innobackupex-1.5.1: Connected to database with mysql child process (pid=28446)
    130501 14:32:27 innobackupex-1.5.1: Connection to database server closed
    130501 14:32:27 innobackupex-1.5.1: Starting ibbackup with command: xtrabackup_56 --defaults-file="/etc/mysql/my.cnf" --defaults-group="mysqld" --backup --suspend-at-end --target-dir=/backups/binary/2013-05-01_14-32-25 --tmpdir=/tmp

    innobackupex-1.5.1: Waiting for ibbackup (pid=28453) to suspend
    innobackupex-1.5.1: Suspend file '/backups/binary/2013-05-01_14-32-25/xtrabackup_suspended'

    xtrabackup_56 version 2.0.6 for MySQL server 5.6.10 Linux (x86_64) (revision id: undefined)
    xtrabackup: uses posix_fadvise().
    xtrabackup: cd to /opt/mysql/server-5.6/ssd-data
    xtrabackup: Target instance is assumed as followings.
    xtrabackup: innodb_data_home_dir = /opt/mysql/server-5.6/data
    xtrabackup: innodb_data_file_path = ibdata1:1G:autoextend
    xtrabackup: innodb_log_group_home_dir = /opt/mysql/server-5.6/data
    xtrabackup: innodb_log_files_in_group = 2
    xtrabackup: innodb_log_file_size = 1073741824
    xtrabackup: using O_DIRECT
    xtrabackup: Could not open or create data files.
    xtrabackup: If you tried to add new data files, and it failed here,
    xtrabackup: you should now edit innodb_data_file_path in my.cnf back
    xtrabackup: to what it was, and remove the new ibdata files InnoDB created
    xtrabackup: in this failed attempt. InnoDB only wrote those files full of
    xtrabackup: zeros, but did not yet use them in any way. But be careful: do not
    xtrabackup: remove old data files which contain your precious data!
    xtrabackup: error: xb_data_files_init() failed witherror code 11


    innobackupex-1.5.1: Error: ibbackup child process has died at /usr/local/bin/innobackupex-1.5.1 line 381.
    root@server1:/usr/local/src/percona-xtrabackup-2.0.6/bin#



    Last edited by smiley; 05-01-2013, 02:44 PM.

    Comment


    • #3
      Could you please show us your /etc/mysql/my.cnf ?

      Comment

      Working...
      X