2012-10-09 11:40 AM - edited 2015-12-18 02:58 AM
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.
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)
Solved! SEE THE SOLUTION
2012-10-09 04:37 PM
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
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.
2012-10-12 01:09 AM
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
2012-10-12 10:40 AM