Subject Re: Restore FBBackupManager not working (non localhost only) - localhost works
Author Ashok122
If you call following using the CODE I provided in previous message...
RestoreBackup("c:/backups/test22_New.fdb",
"c:/backups/test22.fbk", "comp123");

where comp123 is a computer name on the Network

gbak: ERROR: cannot open backup file localhost:c:/backups/test22.fbk
gbak: Exiting before completion due to errors

I was expecting comp123:c:/backups/test22.fbk
Instead of adding "comp123" which is ServerName, it added "localhost".

I am not sure why it cannot open backup file.
test22.fbk was created using gbak recently.

Thanks,
Ashok

--- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
<rrokytskyy@...> wrote:
>
> > when running from JAVA using FBBackupManager,
> > it automatically adds "localhost:" to BACKUP filename
> > so the BackupPath becomes
>
> a) why do you think that it adds "localhost:" to the backup path?
Can you
> point to the line of code where this happens?
>
> b) which version of Jaybird do you use?
>
> Roman
>