for(Language lang : langs) {
try {
TimeMachineConfig tmconfig = new TimeMachineConfig();
tmconfig.setUser(APILocator.getUserAPI().getSystemUser());
tmconfig.setHosts(hosts);
tmconfig.setLanguage(lang.getId());
tmconfig.setDestinationBundle("tm_" + d.getTime());
tmconfig.setIncremental(incremental);
if(incremental){
tmconfig.setId("timeMachineBundle_incremental_" + lang.getId());
}else{
tmconfig.setId("timeMachineBundle_" +d.getTime() + "_" + lang.getId());
}
list.add(APILocator.getPublisherAPI().publish(tmconfig));
}
catch(Exception ex) {