Subject | Re: Gbak and Shadows |
---|---|
Author | kranas97 |
Post date | 2005-04-01T18:57:50Z |
--- In firebird-support@yahoogroups.com, "robert_p_levy"
<r.p.levy@g...> wrote:
for example that you have many databases. Stopping the server
stops servicing all databases and not only the one you want
to backup.
You can shutdown only the database you want to backup. This
way you can restrict limit only to SYSDBA and to the creator
of the database (safe enough).
You can backup or restore the database and restart it again.
Also in firebird 2.0 there is a new database shutdown mode
which "really" shuts the database and deny access to anyone.
I suppose then you can just OS copy the database file (not sure
of that, if anyone Knows please tell me)
<r.p.levy@g...> wrote:
>filesystem.
> Hello. I have a database which is shadowed on a nearby
> If I run gbak to create a backup and then call on gbak again togbaking
> restore from that backup-- overwriting the database, does the
> shadowing remain intact and keep up with the change? I am
> and restoring primarily to free excess pages and reduce the sizeof
> the file. This really does make a huge difference.deny
>
> On another unrelated but similar topic, I was wondering how to
> connections to the database or alternately the firebird server atin
> large while performing system maintainence. What I currently do
> my system maintenence script is shut the server down and bring itbelieve
> back up before running gbak, but there is a risk that someone will
> log on in the window of time while gbak is still running. I
> this may cause corruption. Is shutting down [X]INETID (andbringing
> it back up after the gbak) the answer or would this interfere withanswered
> gbak running?
>
> Thanks in advance! (And apologies if this question has been
> elsewhere. Yahoo Groups' message search is really bad, borderingon
> absurd, which is ironic since Yahoo is a search engine... hm maybewhether
> whomever is moderator might consider putting it up for vote
> or not to move the list over to Google's new mailing list serviceor
> to Topica?),Why you shutdown the server to backup the database. Consider
> Rob
for example that you have many databases. Stopping the server
stops servicing all databases and not only the one you want
to backup.
You can shutdown only the database you want to backup. This
way you can restrict limit only to SYSDBA and to the creator
of the database (safe enough).
You can backup or restore the database and restart it again.
Also in firebird 2.0 there is a new database shutdown mode
which "really" shuts the database and deny access to anyone.
I suppose then you can just OS copy the database file (not sure
of that, if anyone Knows please tell me)