ServerLogSaver

ServerLogSaver

Description

Simply put, this will backup the server.log file to a directory, and then clear the existing server.log file. This is to reduce RAM usage of the server host and effectively reduce lag for server players.

Most of the functions in this are configurable, such as backup location, time delay between backups, choice of Size and Time rotations and more!

Download the Jar

Download the Source

Old Source ServerLogSaver src v0.1b

Commands

  • /sls copy
  • /sls zip

Current Features

  • User defined time for backup intervals (default time is 1 day, 1440 minutes)
  • Backups are time stamped for ease of use
  • Compress the logs
  • Check for 0 byte content
  • Console notice (optional)
  • Choice of time/size/restart rotations (Time in minutes/Size in KB/Restart only backs up on server start)
  • User defined backup storage location
  • User defined backup file names (prefix and time setup)
  • In-game command to do backups on will
  • Choose the number of logs to keep before purging

To-Do

  • Record commands used in a separate file (Probably make a separate plugin for this)
  • need more ideas, feed back would help :D

Change-Log

Version 2.1.1

  • Updated to 1.2.5 R4.0

Version 2.0.2

  • No longer backs up as soon as the server starts with 'time' rotation

Version 2.0.1

  • Added 'restart' rotation choice

Version 2.0

  • Complete re-code
  • Added in-game commands
  • Updated to latest config

Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files