Commit Graph

166 Commits

Author SHA1 Message Date
66Leo66
d988687647
Rename README_zh-CN to README_zh-CN.md 2020-09-09 20:51:07 +08:00
66Leo66
34f8fabce8
Update README.md 2020-09-09 20:50:52 +08:00
66Leo66
d836d60e7c
Update README_zh-CN 2020-09-09 20:49:55 +08:00
66Leo66
9fb9724dd3
Create README_zh-CN 2020-09-09 20:22:50 +08:00
66Leo66
370785d0c7
Update README.md
New commands added!
2020-09-09 20:19:12 +08:00
szymon
5de9c9ba0c removed info call from sendInfo method in CustomLogger class 2020-08-15 21:59:11 +02:00
szymon
b24c807a3a 1.16.2 update 2020-08-15 10:37:20 +02:00
szymon
c5d89ee1ab Version bump 2020-08-14 21:16:45 +02:00
szymon
76c76c7718 Added missing issues link 2020-08-14 21:13:12 +02:00
szymon
1ffcfa6c0e added backup root checking to config checking 2020-08-14 20:38:49 +02:00
szymon
9877fe5c2c Old backups now will be deleted after being restored 2020-08-14 20:37:40 +02:00
szymon
3d4867519c forgot to clean globalShutdownBackupFlag 2020-08-11 20:04:41 +02:00
szymon
9ffa3f0005 MakeBackupRunnable now takes BackupContext instead of separate objects 2020-08-11 09:55:28 +02:00
szymon
d215edcec9 Added sendInfo & sendError methods that take BackupContext as argument 2020-08-11 09:54:36 +02:00
szymon
d06ab7fe5d Shutdown backup starting code moved to SERVER_STOPPED event 2020-08-11 09:53:55 +02:00
szymon
67fe75667b Decompressors now take File not FileInputStream
GenericTarDecompressor now guesses correct decompressor
2020-08-11 09:52:18 +02:00
szymon
7b6531185d Renamed isValid -> isValidBackup 2020-08-11 09:51:34 +02:00
szymon
786666f827 Some minor improvements to compressors 2020-08-11 09:43:19 +02:00
szymon
1ea2dc2969 Backup Context now can get MinecraftServer for ServerCommandContext 2020-08-11 09:41:46 +02:00
szymon
a93e87729b Moved most of the compression code to separate class (AbstractTarCompressor) 2020-08-08 23:36:32 +02:00
szymon
2230f28e97 Statics.LOGGER.sendInfo is now used everywhere instead of source.sendFeedback 2020-08-08 22:19:44 +02:00
szymon
dd23524d98 version bump 2020-08-08 12:10:14 +02:00
szymon
7920152c40 this should make waiting more responsive 2020-08-07 22:29:21 +02:00
szymon
c8b53a4ce2 More improvements on restore command 2020-08-07 22:12:25 +02:00
szymon
7301a4be0e * Added findFileAndLockIfPresent method to RestoreHelper
* create method in RestoreHelper return AwaitThread
 * Improved RestoreBackupCommand
2020-08-07 00:06:36 +02:00
szymon
c43ae5b19c Added isValid method to Utils BackupHelper cleanup method uses now separated delete method (for logging)
delete method checks if file isn't going to be restored
2020-08-07 00:03:38 +02:00
szymon
5ed0511e7f v + Added defaultDateTimeFormatter to Statics 2020-08-06 23:57:14 +02:00
szymon
ac3ff2f78c Utilities shuffled around 2020-08-06 23:55:56 +02:00
szymon
ea50da980d Improved list command 2020-08-06 23:53:02 +02:00
szymon
e6814c4588 list backups now lists file names without the whole path 2020-08-05 20:35:38 +02:00
szymon
073f01740f kill_r command now logs who called it.
Changed kill_r to killR
2020-08-05 20:34:54 +02:00
szymon
b2fe8492d8 RestoreHelper return Runnable 2020-08-05 20:33:31 +02:00
szymon
8da62f4f76 Added missing copyright header 2020-08-05 20:09:16 +02:00
szymon
1856567b17 Improved formatting while sending 2020-08-05 19:33:30 +02:00
szymon
7738e54583 Moved Static variables to separate class (Statics)
Created custom logger (based on ModLogger by Cotton)
Removed info & sendError methods form Utilities (Moved to CustomLogger)
2020-08-05 19:11:06 +02:00
szymon
a4fde82b84 Added command for stopping restoration 2020-08-04 23:24:18 +02:00
szymon
d28123aacc Moved LivingServer duck interface to core package 2020-08-04 18:00:10 +02:00
szymon
1141c3500a Better java 8 support 2020-08-04 17:32:43 +02:00
szymon
abc047c9d6 Config prearrangement + removed option to disable logging. (Why was that there in the first place?) 2020-08-04 17:32:11 +02:00
szymon
695ae7964e Divided command classes into sub-packages 2020-08-04 17:29:45 +02:00
szymon
227faef84c Should work now. Only a ton of testing left... 2020-08-03 23:38:54 +02:00
szymon
7c7c4c7493 It works! (At least now...) 2020-08-03 13:45:24 +02:00
szymon
b81b7d27f8 Version bump + ParallelGzipCompressor cleanup 2020-08-02 23:09:46 +02:00
szymon
8f52745cdd Compression time should now look much more useful 2020-08-02 22:33:11 +02:00
szymon
84cc3fdbfc Actually I broke BlockEncoder, but now it works. 2020-08-02 21:56:19 +02:00
szymon
a8b8e92187 Cleanup now gives some output. 2020-08-02 20:53:49 +02:00
szymon
a1a745abbb Cleanup of Bzip2 compressor files 2020-08-02 20:29:15 +02:00
szymon
be3c78e44b Moved compressors form core package to main. 2020-08-02 20:06:53 +02:00
szymon
fec162ae24 Added BackupContext. This object gets passed instead of passing ServerCommandSource, MinecraftServer, etc... separately. 2020-08-02 20:05:07 +02:00
szymon
51ecf54fb6 Loom update + version bump 2020-08-02 19:56:16 +02:00