Forum Moderators: coopster
I've found tantalizing scripts that purport to do exactly what I want (daily DB, weekly website backups) However, through may lack of familiarity with perl and **nix Each one has failed.
Is there a way to use a PHP script to compress the entire website (and the dB on a seperate occasion) into a tar.gz? The zlib functions seem to be for zipping individual files. I can see FTP functions in PHP that should make executing the move. Creating the file seems to be the hard part.
Or is there a way to execute the **nix command line looking stuff from the middle of a PHP script?
Naturally the web-host guys know less than I do about this stuff (comforting). But I can schedule cron jobs and have been successful pointing at a file (which just gives me an error).
I hope this is clear enough.
Any help you can offer would be much appreciated.
I have another domain hosted on the other side of the country that I want to post the backups to.
Then I can go create a second layer of reassurance by showing my client (mom) how to dump that to CD occasionally.