Subject | Gbak error when run from remote powershell script |
---|---|
Author | rick_roen |
Post date | 2011-06-08T22:16:55Z |
gbak:readied database C:\PubDataArea\CompanyData\Firebird\Primavera.fdb for backup
+ CategoryInfo : NotSpecified: (gbak:readied da....fdb for backup:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
================================
I'm trying to set up a Powershell v2 script to run from a Win Server 2008 r2 domain to backup databases located on another computer in the same domain. The script executes GBak on the remote computer.
I get the error above and an exit code of 1, however the backup is created and is the same size if I run GBak locally. The detail output when I run Gbak with the -V switch seems normal also.
Can anyone explain this error message?
Thanks,
Rick
+ CategoryInfo : NotSpecified: (gbak:readied da....fdb for backup:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
================================
I'm trying to set up a Powershell v2 script to run from a Win Server 2008 r2 domain to backup databases located on another computer in the same domain. The script executes GBak on the remote computer.
I get the error above and an exit code of 1, however the backup is created and is the same size if I run GBak locally. The detail output when I run Gbak with the -V switch seems normal also.
Can anyone explain this error message?
Thanks,
Rick