Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
SJ77 Posted July 9, 2016 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.
SJ77 Posted July 9, 2016 Author 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.