The xtrabackup can be used on 10.0.4-MariaDB-log MariaDB Server?

  • Filter
  • Time
  • Show
Clear All
new posts

  • The xtrabackup can be used on 10.0.4-MariaDB-log MariaDB Server?

    dears, i use the 10.0.4-MariaDB-log with Multi-source replication, and use online backup tool percona-xtrabackup-2.0.2(The Methods looks good,i can backup all instance at one mariadb instance),but it dont work(it can run on the mysql-5.5.30-release on the same machine). here is the error log:

    $ innobackupex --slave-info --defaults-file=/apps/conf/mysql/mariadb10_3306.cnf --no-timestamp --user=dba --password=xxxxxx --host= --port=3306 /apps/dbdat/backdata/xtrabackup/full

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

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

    131104 18:44:50 innobackupex: Starting mysql with options: --defaults-file='/apps/conf/mysql/mariadb10_3306.cnf' --password=xxxxxxxx --user='dba' --host='' --port='3306' --unbuffered --
    131104 18:44:50 innobackupex: Connected to database with mysql child process (pid=5813)
    131104 18:44:56 innobackupex: Connection to database server closed
    IMPORTANT: 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.61, for redhat-linux-gnu (x86_64) using readline 5.1
    innobackupex: Using mysql server version Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

    sh: --: invalid option
    Usage: sh [GNU long option] [option] ...
    sh [GNU long option] [option] script-file ...
    GNU long options:
    Shell options:
    -irsD or -c command or -O shopt_option (invocation only)
    -abefhkmnptuvxBCHP or -o option
    innobackupex: fatal error: no 'mysqld' group in MySQL options
    the file /apps/conf/mysql/mariadb10_3306.cnf already has the variables :
    # grep -E "datadir|basedir" /apps/conf/mysql/mariadb10_3306.cnf

    Is anybody can test the xtrabackup on 10.0.4-MariaDB and give me some suggestion ?
    Last edited by rushm; 11-07-2013, 09:14 PM.

  • #2
    help。。。xtrabackup cant support mariadb10.0.4?