|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
MySQL DB backup as cron job
Hi,
To backup my database I run mysqldump dbname > /home/backups/mysql/db_backup.sql -p and enter my password. If I write a script to do this automatically, how would the password get entered? Thanks |
|
#2
|
|||
|
|||
|
Way off topic!!
You can specify the password followed by the -p flag or set an env. Your question has been asked and answered million times. Why don't you do a search globally using the search keyword: mysqldump cron? |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > MySQL DB backup as cron job |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|