const options = {...}; // Classic configuration with manager = trueFirebird.attach(options, function(err, svc) { if (err) return; svc.backup( { database:'/DB/MYDB.FDB', files: [ { filename:'/DB/MYDB.FBK', sizefile:'0' } ] }, function(err, data) { data.on('data', line => console.log(line)); data.on('end', () => svc.detach()); } );});