Subject | Re: Is it possible to do a backup with a regular user? |
---|---|
Author | fabiano_bonin |
Post date | 2005-07-18T12:18:59Z |
> logged in as another user. The trap here, of course, is thatchanging the
> owner of the database does not change the ownership of the objectsinside
> the database. To do the right thing, you will need to rebuild thedatabase
> from scratch, i.e. from script, while logged in as the user whichyou want
> to be the owner.Can i use a 'magic' to achieve this by changing some system tables?
For example:
update rdb$relations set
rdb$owner_name = 'SOME_USER';
update rdb$procedures set
rdb$owner_name = 'SOME_USER';
update rdb$roles set
rdb$owner_name = 'SOME_USER';
I have many customers using my application and rebuilding each
database from scratch and pump data is not an option for me...
Regards,
Fabiano.