Automated file back up

Status
Not open for further replies.

Cormac

New Member
Hey guys, I'm looking for an automated file back up solution for one of my domains. I looking for something that can create a directory archive which is populated with a tar.gz backup of certain files. I don't need the DB backed up at all.

For example:
- Script runs every week
- Backs up folder x,y,z into a zip to a directory on the server
- directory is protected so only admin can access the backups

My server is running Apache, PHP5, Direct Admin is the web panel.

Any recommendations?
 

shortword

Administrator
Hi Cormac,

Here's one I used to use a lot:

http://weird.ie/files/backup.phps

You can cron it to run every night, best to use nice also to stop gzip murdering the server.

One thing to note, if you have a directory you want to backup as 1 tar.gz then put in "/path/to/folder/". If you want to backup files or folders seperately within a directory then appened a * after the last slash. There's a few examples in the file.

I also used to have it scp the files to another box when it was done. Rather handy, but very simple.

Paul
 
Status
Not open for further replies.
Top