Backup on commandline

B3rt

Verified User
Joined
Oct 12, 2007
Messages
81
Is there a way to make a user backup on the commandline?
I cannot find any backup script in the scripts directory of directadmin.

What I want is to make the same backup as DA makes when using the backup function on reseller level using the interface.

How can I do this using only the command line?
 
Here is the backup command for the user admin:

Code:
echo "action=backup&select%30=autoresponder&select%31=database&select%31%30=vacation&select%32=domain&select%33=email&select%34=emailsettings&select%35=forwarder&select%36=ftp&select%37=ftpsettings&select%38=list&select%39=subdomain&type=sitebackup&value=admin" >> /usr/local/directadmin/data/task.queue

Just start the backup from the user level and quickly see what is in /usr/local/directadmin/data/task.queue
 
Back
Top