Skip to content

DataDump

DataDump.add

add a new data dump job

Permission

admin customer

Parameter

FieldTypeDescription
pathstringpath to store the dumped data to
pgp_public_keystringoptional pgp public key to encrypt the archive, default is empty
dump_dbsbooloptional whether to include databases, default is 0 (false)
dump_mailbooloptional whether to include mail-data, default is 0 (false)
dump_webbooloptional whether to incoude web-data, default is 0 (false)
customeridintoptional, required when called as admin (if $loginname is not specified)
loginnamestringoptional, required when called as admin (if $customerid is not specified)

Response

string as json-encoded array

DataDump.get

You cannot get a planned data export. Try DataDump.listing()

DataDump.update

You cannot update a planned data export. You need to delete it and re-add it.

DataDump.listing

list all planned data export jobs, if called from an admin, list all planned data export jobs of all customers you are allowed to view, or specify id or loginname for one specific customer

Permission

admin customer

Parameter

FieldTypeDescription
customeridintoptional, admin-only, select data export jobs of a specific customer by id
loginnamestringoptional, admin-only, select data export jobs of a specific customer by loginname
sql_searcharrayoptional array with index = fieldname, and value = array with 'op' => operator (one of <, > or =),LIKE is used if left empty and 'value' => searchvalue
sql_limitintoptional specify number of results to be returned
sql_offsetintoptional specify offset for resultset
sql_orderbyarrayoptional array with index = fieldname and value = ASC|DESC to order the resultset by one or morefields

Response

string as json-encoded array count|list

DataDump.listingCount

returns the total number of planned data exports

Permission

admin customer

Parameter

FieldTypeDescription
customeridintoptional, admin-only, select data export jobs of a specific customer by id
loginnamestringoptional, admin-only, select data export jobs of a specific customer by loginname

Response

string as json-encoded response message

DataDump.delete

delete a planned data export jobs by id, if called from an admin you need to specify the customerid/loginname

Permission

admin customer

Parameter

FieldTypeDescription
job_entryintid of data export job
customeridintoptional, required when called as admin (if $loginname is not specified)
loginnamestringoptional, required when called as admin (if $customerid is not specified)

Response

bool