Subject Restore FBBackupManager not working (non localhost only) - localhost works
Author Ashok122
FBBackupManager fb = new FBBackupManager(GDSType.getType("PURE_JAVA"));
fb.setUser("sysdba");
fb.setPort(3050);
fb.setHost("ComputerNameOnNetwork");
// fb.setHost("192.165.2.77"); also not working // I can ping
// 192.165.2.77 and ComputerNameOnNetwork
// fb.setHost("localhost"); works fine.
fb.setPassword("masterkey");
fb.setVerbose(false);
fb.setDatabase(sFDBName);
fb.setBackupPath(sFBKName);
fb.setRestorePageSize(4096);
fb.setRestoreReplace(true);
try {
fb.restoreDatabase();
} catch (SQLException ex) {
ex.printStackTrace();
}

Above does not work. It does not give any error. And it does not
restore. If I change "ComputerNameOnNetwork" to "localhost" in above
code, it works (provided file exists at same location as in
"ComputerNameOnNetwork". BTW the backup file exists on both computers
at same PATH.

Thanks,
Ashok