list snapshots
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 () {
},
});
name of the filesystem
'V01/V01'
Name added to the snapshot by backup service (This will be the snapshotname minus the datestamp)
'backup_daily'
An unexpected error occurred.
OK.