This function adds a transfer session to a queue. For more information about how this function works with other functions in the transfer and restore process, read our Guide to Transfer and Restore API Functions documentation.
Important:
The module
parameter determines which additional parameters to use with the function.
An enqueue transfer item.
module required | string The transfer system module.
Note:
When you call this function, you must include the additional parameters for the desired transfer system module. Select a module from the menu to view its required additional parameters: |
size | integer >= 1 Default: 1 The size of the content to transfer, in bytes. The restore system uses this value to determine the best filesystem partition for the restored account’s home directory. For best results, give as accurate of a value as possible. |
transfer_session_id required | string The transfer session's ID. |
customip | string The custom IP address to assign to the transferred account. Note: This parameter requires that the |
detected_remote_user | string The user account name that the remote server returns when you query the user account. |
domain | string <domain> The domain name. |
ip | integer Whether to assign a dedicated IP address to the transferred account.
Note: If no dedicated IP address exists, the system assigns the account to a shared IP address. |
localuser required | string <username> The local account's username. |
string or string Default: ".existing" The server on which the account's email will reside after it completes the transfer.
Note: The system will use the
| |
overwrite_sameowner_dbs | integer Whether to allow the system to overwrite the account's existing databases with the databases in the backup file.
|
overwrite_sameowner_dbusers | integer Whether to allow the system to overwrite the account's existing database users with the database users in the backup file.
|
overwrite_with_delete | integer Whether to replace and delete all directories and files on the destination server.
Warning: If you use this parameter, the system deletes every directory and file on the destination server. The system does not delete the directories and files from the source server. |
replaceip | string The lines in the domain's zonefile to replace with the new IP address.
|
reseller | integer Whether to make the account a reseller.
|
shared_mysql_server | integer Whether one of the following conditions is true:
Value:
|
skipaccount | integer Whether to skip the recreation of the account.
Note:
|
skipacctdb | integer Whether to skip the transfer of the account's databases.
|
skipbwdata | integer Whether to skip the transfer of the account's bandwidth data.
|
skiphomedir | integer Whether to skip the contents of the home directory.
|
skipres | integer Whether to skip restoration of the account's reseller permissions.
|
user required | string <username> The account to transfer. |
force | integer Whether to overwrite an account with an identical username.
This parameter performs the following actions:
Note:
|
HTTP Request was successful.
object |
module=AccountLocal&size=133698&transfer_session_id=vm5docscpanelcopya20140211211719FxjU&customip=192.168.0.1&detected_remote_user=user&domain=example.com&ip=1&localuser=localuser&mail_location=.local&overwrite_sameowner_dbs=1&overwrite_sameowner_dbusers=1&overwrite_with_delete=1&replaceip=all&reseller=1&shared_mysql_server=1&skipaccount=1&skipacctdb=1&skipbwdata=1&skiphomedir=1&skipres=1&user=user&force=1
{- "metadata": {
- "command": "enqueue_transfer_item",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}