Subscribe

How to handle directory name that contain white space in windows, OSSV and SnapCreator environment (such as C:/Program Files) ?

[ Edited ]

Hi,

    I'm trying to configure OSSV&SnapCreator in windows environment. It work fine with source directory name is not contain white space like "C:\test01", "C:\test01\netapp" ... but if source directory name include white space like "C:\Program Files" then snapcreator result show error "No Snapvault Relationship". Below show error of my case "WINDOWSCLI01:C:\"Program Files"\IBM\Lotus\Domino"

C:\Program Files\netapp\snapvault\bin>snapvault status
Snapvault primary is ON
Source                                          Destination                   State   Lag       Status
WINDOWSCLI01:C:\Program Files\IBM\Lotus\Domino  Rowena:/vol/ossv_scg/Domino   Source  00:18:09  Idle

C:\Program Files\netapp\snapvault\bin>



but when perform OSSV action, it still show [scf-00026] No Snapvault Relationship

########## PRE COMMANDS FINISHED SUCCESSFULLY ##########
[Fri Jul 27 09:11:21 2012] INFO: Getting Snapvault Status for WINDOWSCLI01:C:\"Program Files"\IBM\Lotus\Domino
[Fri Jul 27 09:11:21 2012] INFO: Running OSSV snapvault status command
[Fri Jul 27 09:11:21 2012] CMD: "C:/Program Files/netapp/snapvault"/bin/snapvault status
[Fri Jul 27 09:11:21 2012] [172.32.8.52:9090(3.6.0.1)] DEBUG: Command ["C:/Program Files/netapp/snapvault"/bin/snapvault status] finished with
exit code: [0]
stdout: [Snapvault primary is ON
Source                                          Destination                   State   Lag       Status
WINDOWSCLI01:C:\Program Files\IBM\Lotus\Domino  Rowena:/vol/ossv_scg/Domino   Source  00:10:31  Idle


]
stderr: []
[Fri Jul 27 09:11:23 2012] ERROR: [scf-00026] No Snapvault Relationship for WINDOWSCLI01:C:\"Program Files"\IBM\Lotus\Domino exist! Exiting

########## Application unquiesce ##########
[Fri Jul 27 09:11:24 2012] [172.32.8.52:9090(3.6.0.1)] INFO: UnQuiescing databases


Regards,

Pinyo

Re: How to handle directory name that contain white space in windows, OSSV and SnapCreator such as ?

A white-space in config file isnt supported. GUI lets you do this in SC 3.5 and lower but in 3.6 it wont. Best practices is dont use any special characters in config file name (if you can avoid it) and certainly dont use config file with white-space as it wont work.

Regards,

Keith

Re: How to handle directory name that contain white space in windows, OSSV and SnapCreator such as ?

You mean it is impossible? and no choice to avoid this?

Regards,

Pinyo U. 

Re: How to handle directory name that contain white space in windows, OSSV and SnapCreator such as ?

i mean have some trick? if we still have to use "C:\Program Files"

Regards,

Pinyo U.

Re: How to handle directory name that contain white space in windows, OSSV and SnapCreator such as ?

You can try putting C:\Program Files\IBM\Lotus\Domino  in quotes so "C:\Program Files\IBM\Lotus\Domino" but that is about all I can think of. Otherwise maybe create a symlink in windows, forgot what those are called, junction point maybe, but I am sure there is something you can do.

Keith

Re: How to handle directory name that contain white space in windows, OSSV and SnapCreator such as ?

Thanks Keith, so finally i plan to backup whole of "c:\" drive.

Regards,

Pinyo U.

Re: How to handle directory name that contain white space in windows, OSSV and SnapCreator environment (such as C:/Program Files) ?

Use  the path C;|Progra~1\