Subject | Re: cannot connect to a restored database |
---|---|
Author | flpratt |
Post date | 2004-01-06T18:18:23Z |
--- In firebird-support@yahoogroups.com, Nando Dessena <nandod@d...>
wrote:
If my database contains 50 tables owned by 'owner1' and 100 tables
owned by 'owner2' and 75 tables owned by 'owner3', etc - how can I
backup/restore so that the tables all have their original owners?
If this is not possible with gbak, it is useless for disaster
recovery.
I very much appreciate your patience with me on this. :-)
Thanks
Fred
wrote:
> Fred,ownerships. I
>
> f> Now I see that all of the table ownerships are wrong. It is
> f> interesting that a backup/restore does not preserve
> f> suppose that the ability to change table owners is useful, butI
> f> would expect the default behavior to be preservation ofownerships.
>create a
> gbak -r (or -c) creates a brand new database; the owner can only be
> the user that gbak is operating with. Otherwise anyone could
> database on behalf of anyone else.updating
>
> f> Oh well, one more question. Can I fix the ownerships by
> f> RDB$RELATIONS?Nando,
>
> Frightens me...
>
> Ciao
> --
> Nando mailto:nandod@d...
If my database contains 50 tables owned by 'owner1' and 100 tables
owned by 'owner2' and 75 tables owned by 'owner3', etc - how can I
backup/restore so that the tables all have their original owners?
If this is not possible with gbak, it is useless for disaster
recovery.
I very much appreciate your patience with me on this. :-)
Thanks
Fred