Subject | Re: [firebird-support] Re: Programmatically using GBAK |
---|---|
Author | Stefan Heymann |
Post date | 2006-03-28T13:19:24Z |
> Not correct. The -c[reate_database] andI have never had a problem with using them both together, starting
> -r[eplace_database] switches are mutually exclusive.
with InterBase 4.0 up until today ;-) It does exactly what I want:
delete the current database and overwrite it with the database from
the backup file.
> However, NOBODY should use the -r switch unlessNobody should use ANY switch unless s/he really knows what s/he is
> s/he really knows what s/he is doing.
doing ;-)
> Totally avoid it until one reaches a point where one is confidentEspecially in development work, entirely replacing a database with one
> that [dest]R[oy_database is really what one wants to do.
from a backup is quite common.
> In Fb 2, you're really going to need to be serious about destroyingI don't think that will change a lot. I will have to learn the new
> the old database if that's your intention. You will have to add a
> keyword to the -r switch in order to overwrite.
switch, but I will use it. If you really want to prevent people from
unintentionally deleting a database, then IMHO no such switch should
be available at all, whatever its name or keyword may be.
Best Regards
Stefan