innobackupex-1.5.1: Too many command line arguments
来源:互联网 发布:美工组是干什么的 编辑:程序博客网 时间:2024/06/07 06:34
[root@xxxxxxopt]# /usr/bin/innobackupex-1.5.1 –-apply-log /opt/back_data/ --defaults-file=/opt/mysql/product/mysql/etc/my.cnf
innobackupex-1.5.1: Too many command line arguments
还没有找到问题所在, 去官网 http://www.percona.com/doc/percona-xtrabackup/howtos/recipes_ibkx_local.html 看到如此例子:
$ innobackupex --use-memory=4G --apply-log /data/backups/2010-03-13_02-42-44/
我加了一个--use-memory=4G 参数 ,就OK了:
[root@xxxxxxopt]# innobackupex --use-memory=4G --apply-log /opt/back_data/ --defaults-file=/opt/mysql/product/mysql/etc/my.cnf
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.
IMPORTANT: Please check that the apply-log run completes successfully.
At the end of a successful apply-log run innobackupex
prints "completed OK!".
130407 14:45:07 innobackupex: Starting ibbackup with command: xtrabackup --defaults-file="/opt/mysql/product/mysql/etc/my.cnf" --prepare --target-dir=/opt/back_data --use-memory=4G
....................................................... 省略N多吧!
[notice (again)]
If you use binary log and don't use any hack of group commit,
the binary log position seems to be:
InnoDB: Last MySQL binlog file position 0 55881164, file name /mysqldata/data/mysql-bin.004217
xtrabackup: starting shutdown with innodb_fast_shutdown = 1
130407 14:45:29 InnoDB: Starting shutdown...
130407 14:45:29 InnoDB: Shutdown completed; log sequence number 247276497420
130407 14:45:29 innobackupex: completed OK!
[root@xxxxx mysqldata]# innobackupex --copy-back /opt/back_data --defaults-file=/opt/mysql/product/mysql/etc/my.cnf
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.
IMPORTANT: Please check that the copy-back run completes successfully.
At the end of a successful copy-back run innobackupex
prints "completed OK!".
Original InnoDB log directory is not empty! at /usr/bin/innobackupex line 568.
- innobackupex-1.5.1: Too many command line arguments
- innobackupex-1.5.1: Too many command line arguments
- ./runInstaller: line 50: [: too many arguments
- Too many input arguments.
- shell [: too many arguments
- Too many input arguments.
- too many positional arguments
- GDB Command Line Arguments
- 关于Command-line Arguments
- Ant command line arguments
- exec Command-line Arguments
- B. Command Line Arguments
- Command-Line Arguments
- IDL command line arguments
- UE4 Command-Line Arguments
- Command-Line Arguments
- go command-line-arguments
- shell test(too many arguments)
- jQuery学习笔记三:闭包
- 严重: Dispatcher initialization failed java.lang.RuntimeException: java.lang.reflect.InvocationTargetE
- 浅析C++中的动态多维数组
- Python读写文件
- 一锅乱炖之C/C++
- innobackupex-1.5.1: Too many command line arguments
- Spring上下文Bean的生命周期
- hover的transition
- jquery省市二级联动插件
- volatile
- The method getTextContent() is undefined for the type Node
- 《加州求职记》——转学长的一篇好文
- test
- 马云--写给在工厂上班的孩子