cterasdk.edge.backup module#
- exception cterasdk.edge.backup.AttachEncrypted(encryptionMode, encryptedFolderKey, passPhraseSalt)#
Bases:
CTERAException
Attach Encrypted exception
- class cterasdk.edge.backup.AttachRC#
Bases:
object
- CheckCodeInCorrect = 'CheckCodeInCorrect'#
- ClocksOutOfSync = 'ClocksOutOfSync'#
- InternalServerError = 'InternalServerError'#
- IsEncrypted = 'IsEncrypted'#
- NotFound = 'NotFound'#
- OK = 'OK'#
- PermissionDenied = 'PermissionDenied'#
- class cterasdk.edge.backup.Backup(edge)#
Bases:
BaseCommand
Edge Filer backup configuration APIs
- configure(passphrase=None)#
Edge Filer backup configuration
- Parameters:
passphrase (str,optional) – Passphrase for the backup, defaults to None
- is_configured()#
Is Backup configured
- Return bool:
True if backup is configured, else False
- start()#
Start backup
- suspend()#
Suspend backup
- unsuspend()#
Unsuspend backup
- class cterasdk.edge.backup.BackupFiles(edge)#
Bases:
BaseCommand
- ALL_FILES = 'All File Types'#
- unselect_all()#
Unselect all files from backup
- exception cterasdk.edge.backup.ClocksOutOfSync#
Bases:
CTERAException
Clocks Out of Sync exception
- class cterasdk.edge.backup.CreateFolderRC#
Bases:
object
- FolderAlreadyExists = 'FolderAlreadyExists'#
- InternalServerError = 'InternalServerError'#
- OK = 'OK'#
- PermissionDenied = 'PermissionDenied'#
- class cterasdk.edge.backup.EncryptionMode#
Bases:
object
Encryption mode types
- Variables:
Recoverable (str) – Recoverable key encryption mode
Secret (str) – Secret key encryption mode
- Recoverable = 'RecoverableKeyEncryption'#
- Secret = 'SecretKeyEncryption'#
- exception cterasdk.edge.backup.IncorrectPassphrase#
Bases:
CTERAException
Incorrect Passphrase exception
- exception cterasdk.edge.backup.NotFound(message=None, instance=None, **kwargs)#
Bases:
CTERAException
Not found exception