Using AutoMySQLBackup on Rackspace Cloud

Posted by xref on Server Fault See other posts from Server Fault or by xref
Published on 2012-02-15T21:55:14Z Indexed on 2012/03/27 17:33 UTC
Read the original article Hit count: 281

Filed under:
|

Since Rackspace Cloud only allows FTP access it makes using AutoMySQLBackup a little trickier, and while it is at least creating DB dumps I get errors in the backup log:

###### WARNING ######
Errors reported during AutoMySQLBackup execution.. Backup failed
Error log below..
.../backups/automysqlbackup: line 1791: /usr/bin/find: Permission denied
.../backups/automysqlbackup: line 1855: /usr/bin/find: Permission denied
.../backups/automysqlbackup: line 803: /usr/bin/find: Permission denied
.../backups/automysqlbackup: line 1972: /usr/bin/du: Permission denied

Since files are being created I'm assuming the find command failing has to do with actually rotating out and deleting the old backups?

Line 803:

find "${CONFIG_backup_dir}/${subfolder}${subsubfolder}" -mtime 
+"${rotation}" -type f -exec rm {} \;

Any ideas for alternatives?

© Server Fault or respective owner

Related posts about mysqldump

Related posts about rackspace-cloud