Fixed case number SAP 273749/2021 (002075129500002737492021)
Implemented fix suggested by the client.
@@ -1971,7 +1971,7 @@ public class ODistributedPlugin extends OServerPluginAbstract
}
Files.createDirectories(backupFullPath.toPath());
- Files.move(oldDirectory.toPath(), backupFullPath.toPath());
+ Files.move(oldDirectory.toPath(), Paths.get(backupPath, oldDirectory.getName()));
}
}
} catch (IOException e) {
