mysql - Is there a limit on the number of tables that are backedup using Mysqldump? -
we have mysql 5.0 database in ubuntu server. there 242 tables in database , daily backup running using below command in crontab.
mysqldump -u root --password=<passwd> 'gss-app' table1 table2 .. tablen --skip-triggers --skip-add-drop-table --skip-lock-tables --compact --no-create-info --quick | bzip2 -c > /var/backups/gss-app.sql.bz2
last week had issue customer deleted few files , tried restore mysqldump couldn't find specific table in dump file. see backup contains 206 tables out of 242 tables. first didn't realize dump doesn't have particular table , have posted question in stackoverflow.
so yesterday, changed crontab entry to:
mysqldump -u root --password=<passwd> gss-app | bzip2 -c > /var/backups/gss-app.sql.bz2
i extracted backup file once backup completed , ran below command see tables backed up.
grep -n 'table structure' gss-app.sql
- dump file contains 206 tables out of 242 , had run new mysqldump job take backup of remaining 36 tables.
so, ask if there limit on number of tables backed using mysqldump command?
Comments
Post a Comment