VMware Cloud Community
Aketaton
Contributor
Contributor

VCB 1.0.3 : Enhancements in Snapshot Functionality

Hi all

I'm investigating this new feature of VCB 1.0.3:

Quoted from release notes:

Enhancements in Snapshot Functionality

This release includes a feature in the integration modules for VCB to remove old snapshots remaining from previous backup jobs if the previous backup job failed to remove the old snapshots.

My goal is obvoiusly to remove previous VCB snapshot when a new nbackup task is started.

I'm using ESX 3.0.2 VC 2.0.2, VCB 1.0.3 (obviously) and Legato Modules for VCB.

How can I instruct VCB to do this snapshot commit before starting with the backup process?

Thank you Smiley Happy

F.

Reply
0 Kudos
1 Reply
Aketaton
Contributor
Contributor

I've found this:

Edit the vcb configuration file "C:\Program Files\VMware\VMware Consolidated Backup Framework\config\config.js". There is a section that is commented out by default, change it to:

/*

  • Behavior for a backup job when the VM mount point already exists.

  • +) fail

  • A pre-existing mountpoint is causing a backup job to fail

  • +) delete

  • Attempt to remove the pre-existing mount point (and backup

  • snapshots associated with it). If this op. fails, fail

  • the backup job.

*

  • the default option is "fail"

*/

PREEXISTING_MOUNTPOINT="delete";

/*

  • Behavior for backup job when a previous backup snapshot of a virtual

  • machine already exists.

*

  • +) fail

  • A pre-existing backup snapshot is causing a backup job to fail

  • +) delete

  • Attempt to delete the pre-existing backup snapshot. If the

  • backup snapshot can be deleted without errors, proceed with

  • the backup job. Otherwise fail the backup job.

*

  • the default option is "fail"

*/

PREEXISTING_VCB_SNAPSHOT="delete";

I'll test it Smiley Happy

Reply
0 Kudos