builder.startElement(EXPORT_ELEMENT, null);
}
try {
final SystemExport export = new SystemExport(context.getBroker(), new Callback(builder), null, true);
export.export(dirOrFile, incremental, zip, null);
} catch (final Exception e) {
throw new XPathException(this, "restore failed with exception: " + e.getMessage(), e);
}
if (builder == null) {
return Sequence.EMPTY_SEQUENCE;