Last active
September 16, 2015 14:43
-
-
Save sandys/5a726245e45487b4ba5e to your computer and use it in GitHub Desktop.
innobackup working
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#source | |
innobackupex --user=root --password=root /www/DB-BACKUP | |
#destination | |
scp root@server:/www/DB-BACKUP /tmp | |
innobackupex --apply-log --ibbackup=xtrabackup /tmp/DB-BACKUP/2015-09-16_12-05-39/ | |
innobackupex --copy-back /tmp/DB-BACKUP/2015-09-16_12-05-39/ | |
rm /var/lib/mysql-new/ib_logfile1 | |
rm /var/lib/mysql-new/ib_logfile0 | |
aptitude install php5-curl unzip git xtrabackup mysql-server mysql-client nginx php5-fpm php5-xcache php5-mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment