Subject | FBBackupManager - backup remote database to a local hard disk ? |
---|---|
Author | Przemek |
Post date | 2009-02-27T13:30:10Z |
Hello,
My name is Mali. I work in a quite big company in Poland. Currently we are
working on large system for administration units in our country.
System spec. is: Java WebStrart - JBoss - Firebird 2.1.
My Current task is to write a tool (in java) which provide backup and
restore firebird database.
My question is:
How can i backup remote database on a local hard disk with jaybird ?
I know this is possible using gbak utility:
gbak -b -v 192.168.0.20:/dbases/mydb.fdb C:\mybackup.fbk -user SYSDBA
-pass 123456 (http://www.firebirdfaq.org/faq62/)
but I have no idea how can I achieve this using jdbc api. I'm stuck.
Is this possible anyway ?
I will be very very grateful for your help guys.
Mali.
My name is Mali. I work in a quite big company in Poland. Currently we are
working on large system for administration units in our country.
System spec. is: Java WebStrart - JBoss - Firebird 2.1.
My Current task is to write a tool (in java) which provide backup and
restore firebird database.
My question is:
How can i backup remote database on a local hard disk with jaybird ?
I know this is possible using gbak utility:
gbak -b -v 192.168.0.20:/dbases/mydb.fdb C:\mybackup.fbk -user SYSDBA
-pass 123456 (http://www.firebirdfaq.org/faq62/)
but I have no idea how can I achieve this using jdbc api. I'm stuck.
Is this possible anyway ?
I will be very very grateful for your help guys.
Mali.