Package com.gpudb.protocol
Class RestoreBackupRequest.Options
java.lang.Object
com.gpudb.protocol.RestoreBackupRequest.Options
Enclosing class:
A set of string constants for the
RestoreBackupRequest parameter options.
Optional parameters.
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringID of the snapshot to restore.static final StringCancel active subscriptions.static final StringWhether or not to verify checksums for backup files when restoring.static final StringBehavior to apply when the schema containing any database object to restore does not already exist.static final StringBehavior to apply when restoring tables.static final StringWhether or not to perform a dry run of the restoration operation.static final StringRestore the persisted data files directly.static final StringIf an object to be restored already exists with the same name, abort and return error.static final StringPause subscriptions that were active when the backup was made.static final StringBehavior to apply when restoring table data.static final StringIf an object to be restored already exists with the same name, move that existing one to the schema specified byRENAMED_OBJECTS_SCHEMA.static final StringIf theRESTORE_POLICYisRENAME, use this schema for relocated existing objects instead of the default generated one.static final StringIf an object to be restored already exists with the same name, replace it with the backup version.static final StringBehavior to apply when any database object to restore already exists.static final StringBehavior to apply when restoring datasource subscriptions on tables.static final StringResume subscriptions that were active when the backup was made.static final StringRestore table data by re-ingesting it.
Field Details
CREATE_SCHEMA_IF_NOT_EXIST
Behavior to apply when the schema containing any database object to restore does not already exist. Supported values:TRUE: If the schema containing any restored object does not exist, create it automatically.FALSE: If the schema containing any restored object does not exist, return an error.
TRUE.See Also:RESTORE_SUBSCRIPTIONS
Behavior to apply when restoring datasource subscriptions on tables. Supported values:RESUME: Resume subscriptions that were active when the backup was made.PAUSE: Pause subscriptions that were active when the backup was made.CANCEL: Cancel active subscriptions.
RESUME.See Also:RENAMED_OBJECTS_SCHEMA
If theRESTORE_POLICYisRENAME, use this schema for relocated existing objects instead of the default generated one. The default value is ”.See Also:RESTORE_POLICY
Behavior to apply when any database object to restore already exists. Supported values:NONE: If an object to be restored already exists with the same name, abort and return error.REPLACE: If an object to be restored already exists with the same name, replace it with the backup version.RENAME: If an object to be restored already exists with the same name, move that existing one to the schema specified byRENAMED_OBJECTS_SCHEMA. This policy does not apply to non-schema objects.
NONE.See Also:RENAME
If an object to be restored already exists with the same name, move that existing one to the schema specified byRENAMED_OBJECTS_SCHEMA. This policy does not apply to non-schema objects.See Also: