Subscribe
Accepted Solution

Directory level backup using OSSV

[ Edited ]

Hi Friends,

Any Idea if I can do a directory level backup using OSSV. I tried to backup a directory under program files today and it failed with error:

snapvault start -S GXPBD001:C:\Program Files\Qldata SPC-fas2040:/vol/vol_GXPBD_BKP/GLPBD001_Qldata

Too many arguments.

usage:

This command is available only on a snapvault secondary.

snapvault start [-r [-f]] [-w] [-k <kbs>] [-t <n>] [-o <options>] [-S [<primary_system>:]<primary_path>] [<secondary_filer>:]<secondary_path>

        where <options> is <opt_name>=<opt_value>[[,<opt_name>=<opt_value>]...]

        For more information about the available options, please see the

        SnapVault man page.

When I could not solve it, I configured the backup for the entire C drive and it worked. Hence I was wondering if there is any limitation with OSSV that it just doesnt do a backup of  any directory with a space in its name. (e.g Program Files)

Thanks,

Rahul

Re: Directory level backup using OSSV

Hey,

Directories can be backed up using ossv (drives & directories, not files).

It seems like you wrote it fine, maybe you should try writing it this way:

snapvault start -S GXPBD001:"C:\Program Files\Qldata" SPC-fas2040:/vol/vol_GXPBD_BKP/GLPBD001_Qldata

or

snapvault start -S GXPBD001:C:\"Program Files"\Qldata SPC-fas2040:/vol/vol_GXPBD_BKP/GLPBD001_Qldata

Spaces does tend to make some problems.

Please let me know if that helps.


Re: Directory level backup using OSSV

Hi,

I don't think this is the problem.

I've got a simular problem with a linux or unix system

I can backup /var because this is a whole filesystem,

but I can not backup /etc because this is a part of the root filesystem /

I get the same message

Re: Directory level backup using OSSV

Hi Guys,

The command mentioned by mh_sh_team worked fine.

snapvault start -S GXPBD001:C:\"Program Files"\Qldata SPC-fas2040:/vol/vol_GXPBD_BKP/GLPBD001_Qldata

If there is any space in directory name than running the command in quotes works fine.

Cheers

Rahul