Interface MorpheusSynchronousBackupService

All Superinterfaces:
MorpheusSynchronousDataService<Backup,BackupIdentityProjection>, MorpheusSynchronousIdentityService<BackupIdentityProjection>

  • Method Details

    • getType

      Returns the MorpheusBackupTypeContext used for performing updates/queries on BackupType related assets within Morpheus.
      Returns:
      An instance of the BackupTypeContext to be used for calls by various backup providers
    • getBackupJob

      Returns the BackupJobContext used for performing updates or queries on BackupJob related assets within Morpheus. Typically this would be called by a BackupProvider
      Returns:
      An instance of the Backup Job Context to be used for calls by various backup providers
    • getBackupResult

      Returns the BackupResultContext used for performing updates or queries on BackupResult related assets within Morpheus. Typically this would be called by a BackupProvider.
      Returns:
      An instance of the Backup Result Context to be used for calls by various backup providers
    • getBackupRestore

      Returns the BackupRestoreContext used for performing updates or queries on BackupRestore related assets within Morpheus. Typically this would be called by a BackupProvider.
      Returns:
      An instance of the Backup Restore Context to be used for calls by various backup providers
    • getReplication

      Returns the MorpheusReplicationContext used for performing updates/queries on Replication related assets within Morpheus.
      Returns:
      An instance of the MorpheusReplicationContext to be used for calls by various backup providers
    • getBackupStorageBucket

      StorageBucket getBackupStorageBucket(AccountIdentity accountIdentity, Long backupId)
      Returns the StorageBucket associated with a Backup object. If the backup does not have an associated storage bucket, the default backup storage bucket will be returned.
      Parameters:
      accountIdentity - the AccountIdentity object to use for the storage bucket lookup
      backupId - the ID of the Backup object to use for the storage bucket lookup
      Returns:
      the Single Observable containing the StorageBucket object for subscription
    • getBackupStorageBucket

      StorageBucket getBackupStorageBucket(AccountIdentity accountIdentity, Long backupId, Long storageProviderId)
      Returns the StorageBucket associated with a Backup object. If the backup does not have an associated storage bucket, the default backup storage bucket will be returned.
      Parameters:
      accountIdentity - the AccountIdentity object to use for the storage bucket lookup
      backupId - the ID of the Backup object to use for the storage bucket lookup
      storageProviderId - the ID of the StorageProvider object to use for the storage bucket lookup
      Returns:
      the Single Observable containing the StorageBucket object for subscription
    • getBackupStorageProvider

      com.bertramlabs.plugins.karman.StorageProvider getBackupStorageProvider()
      Returns the StorageProvider for the default backup storage bucket.
      Returns:
      the Single Observable containing the StorageProvider object for subscription
    • getBackupStorageProvider

      com.bertramlabs.plugins.karman.StorageProvider getBackupStorageProvider(Long storageBucketId)
      Returns the StorageProvider for a specific storage bucket.
      Parameters:
      storageBucketId - the ID of the StorageBucket object to use for the storage provider lookup
      Returns:
      the Single Observable containing the StorageProvider object for subscription
    • getBackupStorageProvider

      com.bertramlabs.plugins.karman.StorageProvider getBackupStorageProvider(Long storageBucketId, String basePath)
      Returns the StorageProvider for a specific storage bucket and base path.
      Parameters:
      storageBucketId - the ID of the StorageBucket object to use for the storage provider lookup
      basePath - the base path to use for the storage provider
      Returns:
      the Single Observable containing the StorageProvider object for subscription