Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

8
  • I tried grep CRON and it gave me: CMD (/usr/bin/mysqldump -u root -pPASSWORD! --all-databases | gzip > /var/db_backups/database_... so the command is executed but not produces output files Commented Nov 1, 2013 at 16:59
  • Did you set up cron for root or for other user? Maybe your cron user has no rights to execute mysqldump Commented Nov 1, 2013 at 17:16
  • I haven't setuppet nothing yet. Just used crontab -e on a blank ubuntu server. How can i setup that option? Thanks Commented Nov 1, 2013 at 17:25
  • Try to dump as regular user and see if it works, check writing permissions for /var/db_backups/ and executing permissions for /usr/bin/mysqldump en.wikipedia.org/wiki/Chmod Commented Nov 1, 2013 at 17:28
  • you're right. as user i get: -bash: /var/db_backups/database_011113.sql.gz: Permission denied Commented Nov 1, 2013 at 17:31