Right, I've spent many moons looking for a script that would take a database backup that would cycle through like a CCTV system so that after a set schedule, one database backup would be over written by another to save on space (eg. mon + tues + weds, tues + weds + thurs) and then email/ftp/store locally those backups. I've finally found said script here: http://restkultur.ch/personal/wolf/scripts/db_backup/ Now, I would like the same sort of functionality for a script that would take backups of directory structures so I can also have backups of physical files as well as the database... Ideally, it'd be controlled like the database script where I can tell it to take xDays, xWeeks, xMonths backups. The backup would have to be recursive and then tarballed/gzipped for size issues, and it would have to save locally and ftp (email not feasible because of attachment limits). Now, the only thing I found is here: http://tazforum.thetazzone.com/viewtopic.php?p=9840&sid=fb8d76904794d1d2c2f08c850b7b47a7 which will do the backup of the directory structure and tarball/gzip it... But it won't ftp the result and it will not over write 'old' backups so after 2 or 3 cron triggers, I'd blow my hosting quota. So, basically, I need a script that will do exactly what the first one does (database backup script) but instead of dumping the database, it performs a recursive directory backup of designated directory (most likely /home/whatever/public_html, but needs to be cross platform because I do have windows hosting that I'd like to use this on as well) So, erm, this probably doesn't makes any sense to anyone... But, it's the best I could do to get what's in my head into real words... Does anyone have any ideas if such a script exists as my hours of Google'ing has only really resulted in RIBS (which is close, but not quite what I need) and millions of mysql backup scripts... fingers crossed and thanks in advance!
Sound more like you need to find a php programmer to either develop this for you, or mod the existing script(s) that you found. I've searched in the past for a somewhat similar script and never found any. Ended up cobbling together my own custom solution.
Was able to build one .. trust me it's not recursion ... and i havent found any free script that does all you need ... but there are some scripts you can collect and patch up to do just that. try searching for an ftp uploader script ... and for the backup script .. well i guess you already have one