SJ77 Posted July 9, 2016 Share Posted July 9, 2016 Hi I used vestacp to set up a simple cron command to run every hour. The good news is that it is running every hour. The bad news is that it emails me each hour saying "permission denied" Here is my command (changes to protect my security) mysqldump -uMY DB USER -pMYPASSWORD MYDB > /home/myuser/web/mysite/public_html/dbbackup/mybackup.sql and here is the error message I am getting /bin/sh: /home/myuser/web/mysite/public_html/dbbackup/mybackup.sql: Permission denied any ideas? And advice? Thank you. Link to comment Share on other sites More sharing options...
SJ77 Posted July 9, 2016 Author Share Posted July 9, 2016 got it since it's overwriting a file I need to use a -f parameter to force the overwrite Thanks all. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.