Subject | Re: Restore FBBackupManager not working (non localhost only) - localhost works |
---|---|
Author | Ashok122 |
Post date | 2006-10-23T18:12:10Z |
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:
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:
>Can you
> > 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?
> point to the line of code where this happens?
>
> b) which version of Jaybird do you use?
>
> Roman
>