CLI Command to enable access to a specific bookmark
I am trying to script a tape backup from a CDP copy of a database. I have already scripted the quiese and bookmark process on the database host. Now I need to access that bookmark on another host and can not for the life of me get the right syntax. I can access "latest" image but I can enable_image_access the bookmarked image directly.
Color me pink... It was not obvious to me that the image parameter would accept a bookmark name. It makes perfect sense, though. I was trying to use the Image_type, search_text and exact_text parameters and they were simply not supplying any joy. Thank you!
Indeed you should have either ' or "" for the value of image.
And the error you're getting on virtual access, that is expected as the VMAX2 splitter supports only logged access. Virtual access is supported with VNX, VNXe and Unity splitters.
1. Force command "enable_image_access" to not ask for confirmation.
2. If using a set of commands with plink (-m command_file), I have almost always incorrect usage error from RP, while from normal ssh session it is ok. Any advise? The sequence is: set bookmark, enable images with this bookmark, set direct access and pause transfer.
JamesBEMC
257 Posts
2363
0
Posted November 16th, 2009 13:00
So, typically it would be
enable_image_access group="my group" image="my 10am image"
Is this what you are trying?
You can build the command interactively via the CLI.
James