2015-10-20
从MySQL备份中恢复单个表
sed -n -e ‘/DROP TABLE.*$Table_Name/,/UNLOCK TABLES/p’ MySQL_Backup.sql >> MySQL.$Table_Name.restore...
sed -n -e ‘/DROP TABLE.*$Table_Name/,/UNLOCK TABLES/p’ MySQL_Backup.sql >> MySQL.$Table_Name.restore...
#enable epel & install tor #ulimit -n 1024000 #service tor start curl -L ‘http://downloads.sourcefor...
wget http://net-speeder.googlecode.com/files/net_speeder-v0.1.tar.gz #项目github地址 https://github.com/...
#全备份(这数据不能直接用的,或许有未提交的事务或者事务还在日志里并未写入硬盘) $Master: innobackupex –user=’root’ –password=’$Password’ ...
fail2ban可以解封或者添加IP到白名单,但网上基本都是写的直接改iptables 错误提示: ERROR NOK: (‘Invalid Action name’,) ‘Invalid Actio...
近期评论