Subject | Re: FBBackupManager - backup remote database to a local hard disk ? |
---|---|
Author | Przemek |
Post date | 2009-02-27T19:52:20Z |
> FBBackupManager backupManager = new FBBackupManager();Thx Roman for your answer, but You didn't help me. Please read
> backupManager.setHost("192.168.0.20");
> backupManager.setPort(3050);
> backupManager.setUser("SYSDBA");
> backupManager.setPassword("123456");
> backupManager.setDatabase("/dbases/mydb.fdb");
> backupManager.setBackupPath("/dbases/mybackup.fbk");
> backupManager.setLogger(System.out);
> backupManager.setVerbose(true);
> The only issue is that in your example gbak will dump data from remote
> server to your local disk, in this Java example the backupPath is a path
> on the remote server. This is due to the fact that Java API uses
> Firebird Services and those operate on server.
carefuly, the question is:
Is there any way to BACKUP REMOTE DATABASE TO A LOCAL HARD DISK WITH
jaybird ?!
I know that the above pice of code create backup database on remote
machine.
But I though: If gbak can, the jaybirt schould can, too.
So jaybirt can or can't do this ?