Linux2012. 12. 10. 22:40
 


$ gpg --keyserver  hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
$ gpg -a --export CD2EFD2A | sudo apt-key add -


$ sudo vim /etc/apt/sources.list


deb http://repo.percona.com/apt VERSION main
deb-src http://repo.percona.com/apt VERSION main

  • 10.04LTS (lucid)
  • 12.04LTS (precise)
  • 12.10 (quantal)


$ sudo apt-get update


$ sudo apt-get install xtrabackup




$ innobackupex /백업경로 sudo stop mysql sudo mv /var/lib/mysql /var/lib/mysql-old sudo mkdir /var/lib/mysql innobackupex –copy-back /백업경로/년-월-일_시-분-초/ chown -R mysql. /var/lib/mysql



'Linux' 카테고리의 다른 글

Git Sever 설정  (0) 2012.12.14
Redmine + Git  (1) 2012.12.11
GNU binutils  (0) 2012.02.06
POSIX  (0) 2011.06.21
우분투에서 MAC address 변경  (0) 2010.12.28


Posted by bayron