Snapshots.destroy()

list snapshots

Usage

Hover over inputs/exits for more info.

var Snapshots = require('machinepack-snapshots');


// list snapshots

Snapshots.destroy({

snapshot: 'V01/V01@backup-2015-09-28-15:38:06',

recursive: 'true',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

snapshot required

name of the snapshot

'V01/V01@backup-2015-09-28-15:38:06'
recursive

wether to do recursive or not

'true'

Exits

error

An unexpected error occurred.

success

OK.