create new snapshot
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 () {
},
});
name of the filesystem
'V01/V01'
label for the snapshot
'V01Backup'
An unexpected error occurred.
OK.