/ Published in: Bash
This dumps a database and excludes data from the cache tables, search index and menu router.
Expand |
Embed | Plain Text
mysqldump -u USER -p DB_NAME \ | grep -v '^INSERT INTO `cache\(_[_a-z]\+\)\?`' \ | grep -v '^INSERT INTO `search_index`' \ | grep -v '^INSERT INTO `menu_router`'
You need to login to post a comment.
