This post is more than 5 years old
7 Posts
1
5214
mccli backup restore throws - error VMware Vm restore
Hello,
When I try to perform backup using following command i get error:
admin@vcopsqe-vdp-01:~/>: mccli backup restore --name="vropsrh6561-d" --domain="/ /VirtualMachines" --datacenter="blr-dc" --folder="host-pa" --dest-client-name="vropsrh6561-d" --esx-host-name="esx hostname>" --labelNum=3 --plugin=1
1,22236,Client does not exist.
Attribute Value
--------- ---------------------------------------
error Client '/vropsrh6561-d' does not exist.
However the client exists and the name is correct
So I follow the above command, still i get error
admin@vcopsqe-vdp-01:~/>: mccli backup restore --name="vropsrh6561-d" --domain="/ /VirtualMachines" --plugin=1016 --labelNum=1
1,22297,Request to restore is rejected
Attribute Value
--------- -----------------------------------------------------------------
client /10.136.84.2/VirtualMachines/vropsrh6561-d_UBEF80CAvSoTkeHvoLxFGg
reason Plug-in is only valid for VMware Image or File Level restore.
number 1016
build ALL
plugin Linux VMware Image
version 7.1.181
Any idea, how to resolve this?
arturo3
40 Posts
0
May 28th, 2015 23:00
You are using Windows VMware Image pluginid (3016) to restore a Linux VM so this is the reason why restore is rejected.
Give it a try to pluginid 1016:
mccli backup restore --name=/10.136.84.2/VirtualMachines/vropsrh6561-d --labelnum=3 --plugin=1016 --restore-vm-to=original
and/or
mccli backup restore --name=/10.136.84.2/VirtualMachines/vropsrh6561-d_UBEF80CAvSoTkeHvoLxFGg --labelnum=3 --plugin=1016 --restore-vm-to=original
arturo3
40 Posts
1
May 27th, 2015 23:00
According to mccli command you are running a restore and not a backup as you mentioned, I suppose it is a typo.
1) On first command: plugin id is wrong and you didn't set restore-vm-to param.
2) On second command: plugin id is wrong and you didn't set restore-vm-to param.
What kind of restore do you want to run? to new or original VM?
If it is restore to original VM I would try something like:
mccli backup restore --name=/10.136.84.2/VirtualMachines/vropsrh6561-d --labelnum=3 --plugin=3016 --restore-vm-to=original
or
mccli backup restore --name=/10.136.84.2/VirtualMachines/vropsrh6561-d_UBEF80CAvSoTkeHvoLxFGg --labelnum=3 --plugin=3016 --restore-vm-to=original
gokhalep
7 Posts
0
May 28th, 2015 11:00
Thanks arturo,
I am trying to restore a redhat 6.5 vm to its original location. So I use option 1 given above. But I am getting the following error. What plugin number should i use for it?
admin@vcopsqe-vdp-01:~/>: mccli backup restore --name=/10.136.84.2/VirtualMachines/vropsrh6561-d --labelNum=2 --plugin=3016 --restore-vm-to=original
1,22297,Request to restore is rejected
Attribute Value
------------------------ --------------------------------------
restorePluginVersion 7.1.181
backupPlugin Linux VMware Image
restorePluginBuild 107
restorePluginDescription Windows VMware Image
reason Plug-in cannot restore backup.
restoreClient /clients/vcopsqe-vdp-01.eng.vmware.com
backupNumber 1016
restorePluginNumber 3016
When I try using --plugin 13001 I get this error:
1,22297,Request to restore is rejected
Attribute Value
--------- ------------------------------------------------------
reason Plug-in is not valid for Windows VMware Image Restore.
plugin 13001
gokhalep
7 Posts
0
June 1st, 2015 16:00
I have one more question. I have created a a group called 'SimpleGroup' now I try to add a client present in VCenter to this group by using this command:
mccli group add-client --client-name=/10.137.84.3/VirtualMachines/tinycentos --name=10.137.84.3/VirtualMachines/SimpleGroup
1,22236,Client does not exist.
I keep on getting the error. The client exists on this VCenter.
Any idea?
gokhalep
7 Posts
0
June 1st, 2015 16:00
Thanks a lot.
arturo3
40 Posts
0
June 1st, 2015 23:00
I would try to list all available clients on that domain to check if client name is correct:
mccli client show --domain==/10.137.84.3/VirtualMachines --recursive
gokhalep
7 Posts
0
June 2nd, 2015 14:00
Hello where can I find avamar 6.1 mccli docs? The above restore command works, but I cant add my virtual amchines to the group. I keep on getting the following error:
admin@vcops:~/>: mccli group add-client --name=/10.137.84.3/VirtualMachines/LinuxGroup --client-name="vropsmanager6.1"
1,22236,Client does not exist.
Are there some specific Os types that I could add, for example I can add a win2k12 Vm to this group but not a linux VM.
TPG_GE
7 Posts
0
October 11th, 2016 02:00
I've got the same behavior here, any luck with it?
TPG_GE
7 Posts
0
May 8th, 2017 05:00
Same here, any answer?
>: mccli group add-client --domain=/vcenter.domain.com/VirtualMachines --name="POLICY_NAME" --client-domain=/vcenter.domain.com/VirtualMachines --client-name=VMTOBAKCUP
1,22236,Client does not exist.
The VM "VMTOBAKCUP" does exist and is pingable