(Only when the TSM is licensed at your site) Deletes specified backup objects from the IBM Tivoli Storage Manager (TSM).
sp_deletesmob “syb_tsm“, “server_name"{, “database_name”, “object_type”, “dump_type", “until_time", “bs_name"}
DB – database backup objects created by the dump database command.
XACT – database backup objects created by the dump transaction command.
* – all database backup objects. This is the default.
sp_deletesmobj "syb_tsm", "svr1"
sp_deletesmobj "syb_tsm", "svr1", "testdb", "obj1.dmp", "*", "may 20, 2009 10:51:43:866am"
sp_deletesmobj "syb_tsm", "svr1", "’testdb", "*", "DB", "may 21, 2009 10:51:43:866am"
sp_deletesmobj "syb_tsm", "svr1", "testdb", "/tmp/obj1.dmp", "*", "XACT", "may 21, 2009 10:51:43:866am"
See also Using Backup Server with IBM Tivoli Storage Manager.
The permission checks for sp_dbremap differ based on your granular permissions settings.
Setting | Description |
---|---|
Enabled | With granular permissions enabled, you must be a user with dump any database 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 | 38 |
Audit option | exec_procedure |
Command or access audited | Execution of a procedure |
Information in extrainfo |
|