Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

alter database backup controlfile - alternatives

Yossi.NixonJul 10 2016 — edited Jul 10 2016

Hi,

I am creating a special user for backup control file operation, and my code is in PL/SQL.

the following command requires to powerful permission

execute immediate 'alter database backup controlfile';

I am looking to narrow it by looking for an existing built-in PL/SQL package that enable backup control file.

So I will be able to grant only this package to this user, instead of granting "alter database".

I found about DBMS_BACKUP_RESTORE.BACKUPCONTROLFILE, I am not sure if it fits my needs and have no idea how to run it properly

Any idea ?

Yossi

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2016
Added on Jul 10 2016
14 comments
2,245 views