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?
Well as noted elsewhere, Rackspace Cloud doesn't allow access to the find command. Perhaps some kind of security concern? In any case I ended up building on someone else's bash script which versions daily/weekly/monthly backups without the find command: