website backup problems
I'm still a noob to php and mysql but I managed to find a app that allows us to backup/restore all of our databases at once. MySQLDumper. All databases are backed up to a single directory, but now I need to backup the entire website. I tried a few cheap script tutorials but they only caused errors and I don't have time to build or learn the coding for an entire backup system with all the bells and whistles.
So what's the difference between gzip and zip and where can I find an easy solution to zipping up our entire website for a backup/restore or tranfer?
I'm not sure I follow you here.
Why are you backing up using PHP? You shouldn't need to backup the site files at all anyways since they are actually static. All you need is the dbms to be backed up (or the files if your persistent storage is filesystem), but in either case you should *not* use PHP for this task. PHP is far far too slow to perform this type of maintenance; use the dbms' native filesystem dump tools. Dump it to filesystem and let your standard filesystem backup process sweep it up with the site files. Done and done.
Although if you have agents capable of supporting the dbms, that would be better to use to avoid any type of heavy locking. That assumes you do have a backup solution currently in use.
As for archiving, use gzip if you have it. It is a compression only type, so you'll need to tarball it first (giving you a .tar.gz), but it is superior to the zip. That assumes you're on a linux machine of course, otherwise use zip.
We're on a linux system, but currently have no 'file system' backup in use only a database backup sytem.