Subject | Re: [firebird-support] Embedded / Backup |
---|---|
Author | Nando Dessena |
Post date | 2004-12-07T18:31:32Z |
Alan,
A> Someone has asked this before but noone answered..
Didn't notice it... Anyway, I hope I'm not too late for saving you
from reinventing wheels...
A> If you use the embedded server and you want to backup the database under
A> application user control, what do you do?
basically you do as you would with regular Firebird: you use the
services API; if you're using IBX/IBO you can take advantage of the
mentioned wrapper components, in which case you just leave the
ServerName property blank, make sure the Protocol property is set to
Local and backup your embedded database with or without disconnecting
your other embedded connection(s) first. If you wish to display the
output, make sure you have a proper fbembed setup, i.e. you need the
firebird.msg file in your fbembed home.
If you need to use gbak instead, it should be slightly harder but
doable anyway. Let me know if you need more details.
Ciao
--
Nando Dessena
http://www.flamerobin.org
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================
A> Someone has asked this before but noone answered..
Didn't notice it... Anyway, I hope I'm not too late for saving you
from reinventing wheels...
A> If you use the embedded server and you want to backup the database under
A> application user control, what do you do?
basically you do as you would with regular Firebird: you use the
services API; if you're using IBX/IBO you can take advantage of the
mentioned wrapper components, in which case you just leave the
ServerName property blank, make sure the Protocol property is set to
Local and backup your embedded database with or without disconnecting
your other embedded connection(s) first. If you wish to display the
output, make sure you have a proper fbembed setup, i.e. you need the
firebird.msg file in your fbembed home.
If you need to use gbak instead, it should be slightly harder but
doable anyway. Let me know if you need more details.
Ciao
--
Nando Dessena
http://www.flamerobin.org
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================