private void deleteDirectory(Path directory) {
    try {
      FileUtils.deleteDirectory(directory.toFile());
    } catch (IOException | IllegalArgumentException e) {
      logger.warn("Unable to delete temporary directory created during backup, " + this.directory,
          e);
    }
  }
Attempts to delete all temporary directories and their contents. An attempt will be made to
delete each directory, regardless of the failure to delete any particular one.
geode-core/src/main/java/org/apache/geode/internal/cache/backup/TemporaryBackupFiles.java