Subject | Calling GBAK to do Remote Restore at COMMAND PROMPT works |
---|---|
Author | Ashok122 |
Post date | 2006-10-23T18:36:53Z |
How can I convert this command to be used in Java Code ?
C:\>gbak -r -user sysdba -pass masterkey -se Comp123:service_mgr
c:\backups\test22.fbk comp123:c:\backups\new555.fdb
Above command is run on the Client Computer (not on Comp123 computer).
It works fine.
Again, in this case, BackupPath is simple "c:\backups\test22.fbk"
without any computer name.
I want to do exactly same thing, but in Java Code.
Thanks,
Ashok
C:\>gbak -r -user sysdba -pass masterkey -se Comp123:service_mgr
c:\backups\test22.fbk comp123:c:\backups\new555.fdb
Above command is run on the Client Computer (not on Comp123 computer).
It works fine.
Again, in this case, BackupPath is simple "c:\backups\test22.fbk"
without any computer name.
I want to do exactly same thing, but in Java Code.
Thanks,
Ashok