Snapshots.create()

create new snapshot

Usage

Hover over inputs/exits for more info.

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


// create new snapshot

Snapshots.create({

fs: 'V01/V01',

label: 'V01Backup',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

fs required

name of the filesystem

'V01/V01'
label required

label for the snapshot

'V01Backup'

Exits

error

An unexpected error occurred.

success

OK.