switch (type) {
case BACKUP:
handler.backup(!options.isTestRun(), includePatterns, excludePatterns);
break;
case RESTORE:
handler.restore(!options.isTestRun(), includePatterns, excludePatterns);
break;
case LIST:
handler.list(includePatterns, excludePatterns);
break;
case CLEAN: