Snapshots.list()

list snapshots

Usage

Hover over inputs/exits for more info.

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


// list snapshots

Snapshots.list({

fs: 'V01/V01',

label: 'backup_daily',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

fs required

name of the filesystem

'V01/V01'
label

Name added to the snapshot by backup service (This will be the snapshotname minus the datestamp)

'backup_daily'

Exits

error

An unexpected error occurred.

success

OK.