/ Published in: Bash
This dumps a database and excludes data from the cache tables, search index and menu router.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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`'