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
- ServerLogSaver v2.1.1
- ServerLogSaver v2.1.0
- ServerLogSaver v2.0.2
- ServerLogSaver v2.0.1
- ServerLogSaver v2.0
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
Besides saving ram, would this plugin reduce hard drive space used? Would it increase hard drive space used?
Still working 100% on 1.6.4.
It STILL works perfectly fine, no worries guys :)
Bring it back to life!
Should at least update the description so people know it's not just for 1.2.5...
Works fine on 1.6.2 :D
Works fine on 1.5.2
Thank you :)
Could someone get this updated? :D
@PAO87
I suggest you rsync them yourself or schedule something using cronjob. ;)
it would be nice, to have a way to automaticly upload files to ftp or dropbox.. for external backup..
Hi there works on 1.4.7R1.0 only getting sometimes half console files
Would be nice with a reload command for the config :)
Works perfectly on 1.4.6!
I tried this on 1.4.2-0.2 BETA and it prevented everyone from connecting to the server. Anyone else see this behaviour?
Works flawlessly on 1.3.2R0.2, loving it ! <3
Does it works for 1.3.1 ???
@Erwandir
Try changing the rotation type to "time". Then it will backup the file on a timer, configurable.
Hey Maybe am I wrong, but for the moment it saves logs until a specified size. If it is right, you should add something which allow us to save logs before a specified time. Like for the backup.
If I'm wrong, then sorry :p
@po5
I don't understand why, but thankyou for the love :D
I love this plugin.