This function creates a full backup to a remote server via the secure copy protocol (scp
) command with a password. The system creates a file in the backup-MM.DD.YYYY_HH-mm-ss.tar.gz
filename format.
uapi --output=jsonpretty \ --user=username \ Backup \ fullbackup_to_scp_with_password \ host='example.com' \ username='username' \ password='luggage123456'
{- "apiversion": 3,
- "func": "fullbackup_to_scp_with_password",
- "module": "Backup",
- "result": {
- "data": {
- "pid": "2857"
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}