ONTAP Discussions
ONTAP Discussions
Hi guys,
Can anyone you help me with these values?
snapvault-configuration-info
Describes the elements of the snapvault configuration entry.
primary-path |
The primary path that will be used as the source for this relationship as well as for baseline transfer. This can be either in UTF8 or ASCII/extended ASCII depending on whether or not 'is-primary-path-utf8-encoded' flag is set. If option 'is-primary-path-utf8-encoded' is not specified, then the primary-path considered as in ASCII/extended ASCII. |
||
primary-system |
The primary system for this relationship as well as for the baseline transfer. This input will be used by the secondary system to establish contact with the primary. Therefore this input is expected to be a hostname that the primary can resolve. |
||
secondary-path |
The secondary path that will be used as destination for this relationship as well as baseline transfer. The secondary path will be created during the baseline transfer and hence it must not exist when issuing this request. |
I’m trying to understand what these parameters should contain. But I didn’t figure out yet.
Do you have any guess? And an example, will be, also great.
Thanks.
Solved! See The Solution
Try this:
Julio -
Primary system - The filer with the data you're backing up with SnapVault.
Primary Path - The Qtree or directory you're backing up - /vol/myvolume/myqtree.
Secondary Path - The Qtree you want to use for your SnapVault backups.
Example (On the secondary):
snapvault start -r -S primary:/vol/myvolume/myqtree /vol/svvolume/myqtree
See the man page for snapvault:
http://now.netapp.com/NOW/knowledge/docs/ontap/rel734/html/ontap/cmdref/man1/na_snapvault.1.htm
I hope this response has been helpful to you.
At your service,
Eugene Kashpureff
NetAppU Instructor and Independent Consultant
(P.S. I appreciate points for helpful or correct answers.)
Hi Eugene, thanks for the reply.
I got your point... but can I use the same format as for snapmirrors?
assuming that:
As I don't know if I will have a lun or a share inside it... so I will copy the whole volume.
Another problem I'm having is for the snapvault-schedules. I'm getting the following error:
for the below parameter:
Thanks all.
Just one more question... if anyone can find the problem:
<configuration>
<primary-path>/vol/testRemote/0</primary-path>
<primary-system>BF-LAB-NA2</primary-system>
<secondary-path>/vol/testRemote_Snapvault/0</secondary-path>
<tries-count>5</tries-count>
</configuration>
I'm sending the command above... and getting the same error as in the schedules:
Cannot find where I'm doing anything wrong.
Try this:
Thanks Rick,
it worked... at least now I'm throwing another error.
Not sure what the API is telling me... going to investigate tomorrow, as I'm done for today.
The way to implement the XML is to place the XML in a file and execute apitest accordingly:
apitest -I filer user passwd < xml_file
- Rick -