API for db backup?

bjseiler

Verified User
Joined
Jun 19, 2003
Messages
197
If I am blind on this one, I apologize.....but is there an API command for doing a user database backup? I would like to automatically run database backups every few hours without having to backup the entire site through the reseller level backup. Before I work on this through a command line script, I wanted to ask if the API could do it.

Thanks!
 
Check this page: http://www.directadmin.com/features.php?id=512

2. User Level Backups
CMD_API_SITE_BACKUP
method can be GET or POST.

###################
#create a backup
action=backup
domain=domain.com (hidden value, doesn't affect the outcome of the backup, but is required)

for the following items, include whichever ones you wish to include in the backup. The format is select0=<b>item</b>, where you would use select1=<b>item2</b> for the next item, etc.

domain
subdomain
email
forwarder
autoresponder
vacation
list
emailsettings
ftp
ftpsettings
database

See the Actual user backup page to see what each item does.
 
Back
Top