Subject | Re: census cases of databases corruption |
---|---|
Author | andreachiado |
Post date | 2003-05-12T13:42:32Z |
"Helen Borrie" <helebor@...> ha scritto nel messaggio
news:5.1.0.14.2.20030511203945.03880bf8@......
a good and simple solution could be to instruct gbak to create a
temporary
restore-file
and once finished rename it to the real name we pass as parameter.
Also, it
can be a good solution to know if restore finish ok.
Sorry my poor english
Ciao
--
Andrea Chiadò Piat
Bit Informatica s.r.l.
Progettazione e Sviluppo
news:5.1.0.14.2.20030511203945.03880bf8@......
> Unfortunately, it doesn't refuse connections while a restore istaking
> place. I agree, it would be nice if it did. However, the firstthing
> Restore does is to create the file for the database and then usesome of
> the stored meta-metadata to create the database itself. Once thefile
> exists and the database exists, users can log into it, even thoughthe
> restore process is still continuing.finished
>
> >Just do a restore using another name for the database, and after is
> >rename it.Helen,
a good and simple solution could be to instruct gbak to create a
temporary
restore-file
and once finished rename it to the real name we pass as parameter.
Also, it
can be a good solution to know if restore finish ok.
Sorry my poor english
Ciao
--
Andrea Chiadò Piat
Bit Informatica s.r.l.
Progettazione e Sviluppo