Uses of Class
com.google.cloud.spanner.Backup
Packages that use Backup
Package
Description
A client for Cloud Spanner - A no-compromise relational database service.
-
Uses of Backup in com.google.cloud.spanner
Methods in com.google.cloud.spanner that return BackupModifier and TypeMethodDescriptionBackup.Builder.build()abstract BackupBackupInfo.Builder.build()Builds the backup from this builder.Gets the current state of a Cloud Spanner database backup.Returns the backup with the given id on this instance.Backup.reload()Fetches the backup's current information and returns a newBackupinstance.DatabaseAdminClient.updateBackup(String instanceId, String backupId, com.google.cloud.Timestamp expireTime) Updates the expire time of a backup.Methods in com.google.cloud.spanner that return types with arguments of type BackupModifier and TypeMethodDescriptioncom.google.api.gax.longrunning.OperationFuture<Backup,CreateBackupMetadata> Backs up this database to the location specified by theBackup.default com.google.api.gax.longrunning.OperationFuture<Backup,CopyBackupMetadata> DatabaseAdminClient.copyBackup(BackupId sourceBackupId, Backup destinationBackup) Creates a copy of backup from an existing backup in Cloud Spanner in the same instance.default com.google.api.gax.longrunning.OperationFuture<Backup,CopyBackupMetadata> DatabaseAdminClient.copyBackup(String instanceId, String sourceBackupId, String destinationBackupId, com.google.cloud.Timestamp expireTime) Creates a copy of backup from an existing backup in a Cloud Spanner instance.com.google.api.gax.longrunning.OperationFuture<Backup,CreateBackupMetadata> Backup.create()Creates a backup on the server based on the source of thisBackupinstance.com.google.api.gax.longrunning.OperationFuture<Backup,CreateBackupMetadata> DatabaseAdminClient.createBackup(Backup backup) Creates a new backup from a database in a Cloud Spanner.com.google.api.gax.longrunning.OperationFuture<Backup,CreateBackupMetadata> DatabaseAdminClient.createBackup(String sourceInstanceId, String backupId, String databaseId, com.google.cloud.Timestamp expireTime) Creates a new backup from a database in a Cloud Spanner instance.com.google.api.gax.paging.Page<Backup>DatabaseAdminClient.listBackups(String instanceId, Options.ListOption... options) Returns the list of Cloud Spanner backups in the given instance.com.google.api.gax.paging.Page<Backup>Instance.listBackups(Options.ListOption... options) Returns the backups belonging to this instance.Methods in com.google.cloud.spanner with parameters of type BackupModifier and TypeMethodDescriptioncom.google.api.gax.longrunning.OperationFuture<Backup,CreateBackupMetadata> Backs up this database to the location specified by theBackup.default com.google.api.gax.longrunning.OperationFuture<Backup,CopyBackupMetadata> DatabaseAdminClient.copyBackup(BackupId sourceBackupId, Backup destinationBackup) Creates a copy of backup from an existing backup in Cloud Spanner in the same instance.com.google.api.gax.longrunning.OperationFuture<Backup,CreateBackupMetadata> DatabaseAdminClient.createBackup(Backup backup) Creates a new backup from a database in a Cloud Spanner. -
Uses of Backup in com.google.cloud.spanner.spi.v1
Methods in com.google.cloud.spanner.spi.v1 with parameters of type BackupModifier and TypeMethodDescriptioncom.google.api.gax.longrunning.OperationFuture<Backup,CopyBackupMetadata> GapicSpannerRpc.copyBackup(BackupId sourceBackupId, Backup destinationBackup) default com.google.api.gax.longrunning.OperationFuture<Backup,CopyBackupMetadata> SpannerRpc.copyBackup(BackupId sourceBackupId, Backup destinationBackup) Creates a copy backup from the source backup specified.com.google.api.gax.longrunning.OperationFuture<Backup,CreateBackupMetadata> GapicSpannerRpc.createBackup(Backup backupInfo) com.google.api.gax.longrunning.OperationFuture<Backup,CreateBackupMetadata> SpannerRpc.createBackup(Backup backupInfo) Creates a new backup from the source database specified in theBackupinstance.