You can get the default buffer sizes used by the mysqld server with this command:
shell> mysqld –helpThis command produces a list of all mysqld options and configurable variables. The output includes the default values and looks something like this:
shell> mysqld –helpThis command produces a list of all mysqld options and configurable variables. The output includes the default values and looks something like this:
|
Edit
/etc/security/limits.conf and add the following lines
|
Archive: V790192-01-MySQL_Enterprise_Monitor_Service_Manager_3.3.1.zipinflating: mysqlmonitor-3.3.1.1112-linux-x86_64-installer.bininflating: mysqlmonitor-3.3.1.1112-linux-x86_64-update-installer.bininflating: README_en.txtinflating: READ_ME_ja.txt
Language Selection
#!/bin/bash
#creates and maintains MySQL Enterprise Backup (MEB) backups
#prints usage
usage()
{
echo "$VERSION"
echo "
Usage: `basename $0` [command] [MEB options]
Commands:
full make full backup
incremental make incremental backup
incremental-with-redo-log-only make incremental backup with redo log only
verify-to-tape verify backup images, then copy to tape
prepare prepare backups
remove-old remove old backups
"
}
$ tar xvzf meb-3.9.0-linux2.6-x86-64bit.tar.gz
meb-3.9.0-linux2.6-x86-64bit/
meb-3.9.0-linux2.6-x86-64bit/bin/
meb-3.9.0-linux2.6-x86-64bit/bin/mysqlbackup
meb-3.9.0-linux2.6-x86-64bit/README.txt
meb-3.9.0-linux2.6-x86-64bit/LICENSE.mysql
meb-3.9.0-linux2.6-x86-64bit/manual.html
meb-3.9.0-linux2.6-x86-64bit/mysql-html.css
I then placed the mysqlbackup binary in my MySQL “bin” directory :$ cp meb-3.9.0-linux2.6-x86-64bit/bin/mysqlbackup /usr/local/mysql/bin/
$ which mysqlbackup
/usr/local/mysql/bin/mysqlbackup
Now we’ve installed the software, we can go on and prepare our database for backup.