CreateProcess with RSM and NTBackup (?)

E

Edmunde Lee

Hey guys,

This is driving me batty.

To reduce the amount of code here, I'm going to forgo spelling out my
CreateProcess structs, and definitions, but I know for a fact that
they are working. THe problem I am having is ....

I can successfully launch NTBackup using CreateProcess, but only if
I'm creating a "file" backup, as opposed to actually using a proper
tape device.

To expand this problem... I get similar difficulties when trying to
control RSM.exe using CreateProcess.

To be precise:
I can open rsm.exe using CreateProcess, and get back RSM.exe help
(because the command is incomplete)
I can open "rsm.exe view" and get back the help for it...

But as soon as I try to actually use it properly it fails.
eg:
CreateProcess(vbNullString, "c:\winnt\system32\rsm.exe view /tLibrary)
The results I get back are "unable to open session with the RSM
server"

I use the same command from the command prompt and it works.. so the
RSM server is fine. I have a feeling that somewhere, perhaps in the
secAtt struct, Im doing something wrong?

As for NTBackup, I'm using the /p "mediaPoolName" /um combination..
NTbackup lauches, and then quits with a logged error "No media was
specified" as if the /p /um name is being discarded. Or, this
Ntbackup problem is related to the RSM problem.


Arrrgg,,

Sorry for the long one, but this is making me nuts.

Any help would be appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top