Changes between Version 1 and Version 2 of MysqlBackup


Ignore:
Timestamp:
03/04/16 14:19:11 (9 months ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MysqlBackup

    v1 v2  
    1818for d in ${DATABASES} ; do 
    1919  # 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$') 
    2121  for c in ${CACHE_TABLES}; do 
    2222    mysql -NBA -e "TRUNCATE ${c}" ${d}