Changes between Version 1 and Version 2 of MysqlBackup
- Timestamp:
- 03/04/16 14:19:11 (9 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MysqlBackup
v1 v2 18 18 for d in ${DATABASES} ; do 19 19 # Find the cache tables 20 CACHE_TABLES=$(mysql -NBA -e 'show tables' ${d} | egrep '^cach |flood|watchdog')20 CACHE_TABLES=$(mysql -NBA -e 'show tables' ${d} | egrep '^cache|^flood$|^watchdog$') 21 21 for c in ${CACHE_TABLES}; do 22 22 mysql -NBA -e "TRUNCATE ${c}" ${d}