Allows you to list, add, or change dump configurations.
sp_config_dump [@config_name = ‘configuration_name’ [, { [@stripe_dir = ’stripe_dir_name’,] [@ext_api = ’external_api’,] [@num_stripes = ’number_of_stripes’,] [@retry = ’number_of_retries’,] [@blocksize = ’number_of_bytes’,] [@compression = ’compression_level’,] [@retaindays = ’number_of_days’,] [@init = ’[noinit | init]’,] [@verify = ’[header | full]’,] [@notify = ’[client | operator_console]',] [@backup_srv_name = backup_server_name’,] } | [‘delete’] ] ]
database_name.dump_type.date-timestamp.stripeID
@stripe_dir defaults to the directory where the Backup Server is started.
@stripe_dir cannot be a tape device.
external_API_name::additional_options
is the number of days that Backup Server prevents a dump from being overwritten. Backup Server requires you to confirm any overwrite requests on an unexpired volume. By default, value is 0, meaning dumps can be overwritten.
specifies whether Backup Server routes messages to the client terminal that initiated the dump, or to the operator-console terminal where the Backup Server is running.
For platforms that use interfaces files, the Backup Server name must appear in the interfaces file.
sp_config_dump go Configuration name ------------------- dmp_cfg1 dmp_cfg2 dmp_cfg3
sp_config_dump 'dmp_cfg1' go Dump configuration: dmp_cfg1 Option name Option value ----------- ------------- compression 5 num_stripes 3 stripe_dir /work/dump_dir
sp_config_dump 'dmp_cfg2', @stripe_dir='/work1/dmp_dir', @num_stripes='5', @retry='1'
sp_config_dump 'dmp_cfg2', @stripe_dir='/work2/dmp_dir'
sp_config_dump 'dmp_cfg2', 'delete'
The sp_config_dump procedure does not support tape devices.
dump, load, genddlonly in Reference Manual: Commands
For information about dump operations, see the System Administration Guide.
The permission checks for sp_config_dump differ based on your granular permissions settings.
Setting | Description |
---|---|
Enabled | With granular permissions enabled, you must be a user with manage dump configuration privilege. |
Disabled | With granular permissions disabled, you must be a user with sa_role or oper_role. |
Values in event and extrainfo columns from the sysaudits table are:
Information | Values |
---|---|
Event | exec_procedure |
Audit option | |
Command or access audited | Execution of procedure |
Information in extrainfo |
|