public interface BackupTransferService
| Modifier and Type | Method and Description |
|---|---|
File |
sendDownloadBackup(SystemInformation si,
boolean csum)
Download backup to a safe location
|
BackupInformation |
sendGetLastRestoreInformation(SystemInformation si)
Get last backup information.
|
Token |
sendStartSystemBackup(SystemInformation si)
Backup controller system.
|
Token |
sendStartSystemRestore(SystemInformation si)
Restore controller system.
|
void |
sendUploadBackup(String filename,
InputStream in,
SystemInformation si)
Upload backup to a URL.
|
Token sendStartSystemBackup(SystemInformation si)
si - the system info descriptorFile sendDownloadBackup(SystemInformation si, boolean csum) throws IOException, URISyntaxException
si - the system info descriptorcsum - set to true for downloading checksumIOException - throws the IO exceptionURISyntaxException - throws the uri syntax exceptionvoid sendUploadBackup(String filename, InputStream in, SystemInformation si)
filename - filenamein - the input streamsi - the system info descriptorToken sendStartSystemRestore(SystemInformation si)
si - the system info descriptorBackupInformation sendGetLastRestoreInformation(SystemInformation si)
si - the system info descriptorCopyright © 2014. All Rights Reserved.