User account script for cron backups

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,158
Hello,

By request, I've whipped up a simple cron script that Users can add to their accounts which would allow them to create nightly backups.

http://files.directadmin.com/services/all/backup.php

Instructions are contained within the script.

Basically, the User copies the script to his home directory, chmods to 700, edits the username/password variables at the top, then create a cronjob to call the script. It uses the DA API to call CMD_API_SITE_BACKUP

John
 
Does this script still create a full user backup?

I'm specifically thinking of all the select options - I've seen mentions of "database_data" and "email_data" on Google but the link you provide doesn't include those?
 
Back
Top