gokhalep
1 Nickel

mccli backup restore throws - error VMware Vm restore

Jump to solution

Hello,

When I try to perform backup using following command i get error:

admin@vcopsqe-vdp-01:~/>: mccli backup restore --name="vropsrh6561-d" --domain="/<VCenter IP>/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="/<Vcenter IP>/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?

Tags (2)
1 Solution

Accepted Solutions
8 Krypton

Re: mccli backup restore throws - error VMware Vm restore

Jump to solution

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

0 Kudos
9 Replies
8 Krypton

Re: mccli backup restore throws - error VMware Vm restore

Jump to solution

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
1 Nickel

Re: mccli backup restore throws - error VMware Vm restore

Jump to solution

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


0 Kudos
8 Krypton

Re: mccli backup restore throws - error VMware Vm restore

Jump to solution

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

0 Kudos
gokhalep
1 Nickel

Re: mccli backup restore throws - error VMware Vm restore

Jump to solution

Thanks a lot.

0 Kudos
gokhalep
1 Nickel

Re: mccli backup restore throws - error VMware Vm restore

Jump to solution

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?

0 Kudos
8 Krypton

Re: mccli backup restore throws - error VMware Vm restore

Jump to solution

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

0 Kudos
gokhalep
1 Nickel

Re: mccli backup restore throws - error VMware Vm restore

Jump to solution

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.

0 Kudos
Highlighted
TPG_GE
1 Nickel

Re: mccli backup restore throws - error VMware Vm restore

Jump to solution

I've got the same behavior here, any luck with it?

0 Kudos
TPG_GE
1 Nickel

Re: mccli backup restore throws - error VMware Vm restore

Jump to solution

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

0 Kudos