Class BackupUtil

java.lang.Object
com.hypixel.hytale.server.core.util.backup.BackupUtil

class BackupUtil extends Object
  • Constructor Details

    • BackupUtil

      BackupUtil()
  • Method Details

    • walkFileTreeAndZip

      static void walkFileTreeAndZip(@Nonnull Path sourceDir, @Nonnull Path zipPath) throws IOException
      Throws:
      IOException
    • broadcastBackupStatus

      static void broadcastBackupStatus(boolean isWorldSaving)
    • broadcastBackupError

      static void broadcastBackupError(Throwable cause)
    • findOldBackups

      @Nullable static List<Path> findOldBackups(@Nonnull Path backupDirectory, int maxBackupCount) throws IOException
      Throws:
      IOException