Highlighted
suhasvm
1 Nickel

Disable Backup Job

Jump to solution

Hi there,

Is there a way to disable a backup job in VDP / Avamar from Command Line using mccli?

Thanks
Suhas

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
8 Krypton

Re: Disable Backup Job

Jump to solution

Do you mean to cancel a running backup job or disable a client/policy?

List running jobs

mccli activity show --active

Cancelling a running job

mccli activity cancel --id=String --wait[=min]; where id equals the job you see listed

Disabling a client

mccli client edit --name=String --enabled=false

You can find specific examples in the MCCLI guide available on the EMC Support Site.

Let us know if that helps!

Karl

0 Kudos
3 Replies
8 Krypton

Re: Disable Backup Job

Jump to solution

Do you mean to cancel a running backup job or disable a client/policy?

List running jobs

mccli activity show --active

Cancelling a running job

mccli activity cancel --id=String --wait[=min]; where id equals the job you see listed

Disabling a client

mccli client edit --name=String --enabled=false

You can find specific examples in the MCCLI guide available on the EMC Support Site.

Let us know if that helps!

Karl

0 Kudos
suhasvm
1 Nickel

Re: Disable Backup Job

Jump to solution

Hi There,

So before

mccli client edit --domain=/vc-ip/VirtualMachines --name=String --enabled=false

root@vdp:~/#: mccli client show --domain=/vcenter-dr.happycow.local/VirtualMachines --name=aa

0,23000,CLI command completed successfully.

Attribute                Value

------------------------ --------------------------------------------------------------------

Client Name              aa

Fully Qualified Name     /vcenter-dr.happycow.local/VirtualMachines/aa_UDK8bfa83W64EAJWgdWB6A

Client Type              Virtual Machine

Operating System         windows7Server64Guest

Paging                   No

CID                      97fbfc9175384a836066a7f723bb881397cbd8ac

CID Assigned             2016-12-22 19:19:37 IST

Disabled                 No

Agent Last Started       2016-12-23 03:09:51 IST

Override Group Retention No

Retention Policy         Default Retention

Overtime Option          No overtime allowed

Restore Only             No

Avamar encryption method High

Override Encryption      No

Allow CIS                Yes

Allow CIS file selection Yes

Override CIS retention   No

Browse Timeout           10 seconds

Contact Name             N/A

Contact Phone            N/A

Contact Email            N/A

Contact Location         N/A

Contact Notes            N/A

Member of Group          /vcenter-dr.happycow.local/VirtualMachines/e

Member of Group          /vcenter-dr.happycow.local/Default Virtual Machine Group

Plugin                   Windows VMware Image(3016)

Initial Install Date     2016-12-22 19:19:37 IST

Last Version Registered  2016-12-22 19:19:37 IST

Last Successful Backup   N/A

After:

root@vdp:~/#: mccli client show --domain=/vcenter-dr.happycow.local/VirtualMachines --name=aa

0,23000,CLI command completed successfully.

Attribute                Value

------------------------ --------------------------------------------------------------------

Client Name              aa

Fully Qualified Name     /vcenter-dr.happycow.local/VirtualMachines/aa_UDK8bfa83W64EAJWgdWB6A

Client Type              Virtual Machine

Operating System         windows7Server64Guest

Paging                   No

CID                      97fbfc9175384a836066a7f723bb881397cbd8ac

CID Assigned             2016-12-22 19:19:37 IST

Disabled                 Yes

Agent Last Started       2016-12-23 03:07:01 IST

Override Group Retention No

Retention Policy         Default Retention

Overtime Option          No overtime allowed

Restore Only             No

Avamar encryption method High

Override Encryption      No

Allow CIS                Yes

Allow CIS file selection Yes

Override CIS retention   No

Browse Timeout           10 seconds

Contact Name             N/A

Contact Phone            N/A

Contact Email            N/A

Contact Location         N/A

Contact Notes            N/A

Member of Group          /vcenter-dr.happycow.local/VirtualMachines/e

Member of Group          /vcenter-dr.happycow.local/Default Virtual Machine Group

Plugin                   Windows VMware Image(3016)

Initial Install Date     2016-12-22 19:19:37 IST

Last Version Registered  2016-12-22 19:19:37 IST

Last Successful Backup   N/A

The client is disabled. However, the job does not come as disabled in the VDP GUI. However, the backup fails for this VM. Not a very expected way. I thought the VDP Job will be listed as disabled.

But, I will take this answer any day. Thanks.

0 Kudos
8 Krypton

Re: Disable Backup Job

Jump to solution

From my experience VDP and Avamar are separate products.  They share a lot of things but you can't assume what is documented in Avamar will work in VDP.  You need to be very cautious doing things in mccli in VDP.  If you want Avamar functionality you should purchase Avamar.

"VDP job" = A combination of Avamar group, schedule, dataset, retention and clients.

Avamar job = an individual backup, restore or replication job running.

I highly recommending disabling a job using what is documented in the VDP admin guide.  With that said what you are trying to do is a function of groups and probably is possible in mccli.

I use mccli activity cancel --id= all the time in VDP as there is no function in VDP GUI that lets you do this.