public interface BackupService
| Modifier and Type | Method and Description |
|---|---|
File |
downloadBackup(String systemId,
boolean csum,
Authentication auth)
Download backup to a safe location
|
BackupStatus |
getBackupStatus(Token token,
Authentication auth)
Get backup status.
|
BackupInformation |
getLastRestoreInformation(String systemId,
Authentication auth)
Get last restore information.
|
Token |
startSystemBackup(String systemId,
Authentication auth)
Backup controller system.
|
Token |
startSystemRestore(String systemId,
Authentication auth)
Restore controller system.
|
void |
uploadBackup(String filename,
InputStream in,
String systemId,
Authentication auth)
Upload backup to a URL.
|
Token startSystemBackup(String systemId, Authentication auth)
systemId - the system unique Idauth - the authentication record for the user that
invoked this methodBackupStatus getBackupStatus(Token token, Authentication auth)
token - Token instanceauth - the authentication record for the user that
invoked this methodFile downloadBackup(String systemId, boolean csum, Authentication auth)
systemId - the unique system idcsum - set to true to download the checksumauth - the authentication record for the user that
invoked this methodvoid uploadBackup(String filename, InputStream in, String systemId, Authentication auth)
filename - filenamein - the input streamsystemId - the unique system idauth - the authentication record for the user that
invoked this methodToken startSystemRestore(String systemId, Authentication auth)
systemId - the unique system idauth - the authentication record for the user that
invoked this methodBackupInformation getLastRestoreInformation(String systemId, Authentication auth)
systemId - the unique system idauth - the authentication record for the user that
invoked this methodCopyright © 2014. All Rights Reserved.