Pool name question

tappe

Newcomer
Joined
Apr 8, 2010
Messages
2
Reaction score
0
Points
0
Hi,

Hope som one can help me out. We have one pool called Steria and one called Steria Disk. When i try to run the following code:

Dim oShell
Set oShell = WScript.CreateObject ("WScript.shell")
oShell.run cmd /K CD "C:\Program Files\Legato\nsr\bin" & nsrsqlsv.exe -s attbackup -l full -T -b "Steria Disk" MSSQL:Steriadb
Set oShell = Nothin


The backups are sent to the pool Steria, not to Steria Disk. I´ve tried several diiferent combinations to specify the correct pool name, but without luck. Isn´t space allowed in a pool name?

Thanks
 
Hi,
Try using the pool name within single quotes.

Hope this helped,
Rovin D'Souza.:up:
 
Thanks, it actually worked with double quotes. I must have made som other mistake in the code.
 
Back
Top