请教mysql定时备份的问题

mysqldump --opt sampdb      
不是 –skip-opt      
--skip-opt

This option has the opposite effect of --opt, which is enabled by default as of MySQL 4.1. --skip-opt can be used to obtain the pre-4.1 behavior of mysqldump.


--opt

Optimize table dumping speed and write a dump file that is optimal for reloading speed. This option turns on whichever of the following options are present in your version of mysqldump: --add-drop-table, --add-locks, --create-options, --disable-keys, --extended-insert, --lock-tables, --quick, and --set-charset. This option was disabled by default before MySQL 4.1. It is now enabled by default; use --skip-opt to disable it.