i have try to set cron file for get auto backup to all my database table.
i was using following mysqldump command :
sudo mysqldump -u username -p password --all-databases | gzip > mysqldb_`date +%F`.sql.gz
but it's show following error :
mysqldump: Got error: 1049: Unknown database 'password' when selecting the database
any other option to get automatic mysql database backup
thank you...