Subject | Re: Restoring a database |
---|---|
Author | Adam |
Post date | 2006-03-19T22:51:56Z |
--- In firebird-support@yahoogroups.com, "Alan McDonald" <alan@...>
wrote:
Adam
wrote:
>database
> > See above. Another side point, when you begin to restore the
> > with the replace switch the first thing it does is to delete theold
> > one. If the restore fails due to a corrupt backup file, you willbe
> > left with no database and an unrestorable backup of it. You maywant
> > to change the process slightly, rename the fdb file (this willprevent
> > all connections but will only succeed if no-one is connected) thenelsewhere
> > restore to a DIFFERENT filename (to prevent people from connecting
> > during the restore), then rename that file to the correct name.
> > Alternatively if you use aliases, you can point the alias
> > while you do all this.No you don't, it is read whenever a connection is made.
> >
> >
> > Adam
> >
>
> you'll need to restart the server for a new alias to take effect
> Alan
>
Adam