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 only permissions on restored objects.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 StringWhether or not all permissions of restored principals should be restored or scoped to the restored objects.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 schema-based objects to alternate schema.static final StringRestore all permissions.
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_ALL_PERMISSIONS
Whether or not all permissions of restored principals should be restored or scoped to the restored objects. Supported values:The default value isFALSE.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:TARGET_SCHEMA_MAP
Restore schema-based objects to alternate schema. Value is a comma delimitted list of key:value pairs mapping the original (source) schema name as it exists in the backup to a target (destination) schema namespace: ‘<src>:<dst>,<src>:<dst>,…’. Note that schema names are case sensitive and must adhere to the database schema naming criteria. The default value is ”.See Also: