Szum123321
f6cd361fff
Selected hashing algorithm. It's a custom job which merges SeaHash with Xoroshift64*. Should be fast and correct enough to for this use case. hope I will be able to speed it up with SIMD, as java is scheduled to soon include Vector API (a part of project Panama)
2022-11-27 13:55:34 +01:00
Szum123321
9c37affacd
Backup integrity is now checked
2022-11-25 14:00:18 +01:00
Szum123321
dbb9a71749
Moved around error handling. LocalDateTime is now passed with BackupContext. Replaced equals method with matches in ParallelZipCompressor.SimpleStackTraceElement to avert warning.
2022-11-25 09:54:44 +01:00
Szum123321
4007d8f86d
Do I really need hashes? idk.... Either way it has to get ugly before it gets beautiful ... I think
2022-11-24 00:38:55 +01:00
Szum123321
85452efbca
,
2022-11-22 15:09:21 +01:00
Szum123321
c816c70a6b
added FileTreeHashBuilder for intelligently building single hash of file tree
2022-11-22 14:16:12 +01:00
Szum123321
2774ebd2b4
starting work on backup verification
2022-11-21 23:31:48 +01:00
Szum123321
ef4c69b4d1
ffffffffffffffffffffff
2022-11-06 11:46:40 +01:00
Szum123321
64e8e06161
Merge pull request #111 from Szum123321/refactor_2022
...
Refactor 2022
2022-11-06 11:05:22 +01:00
Szum123321
aaf9a54523
dep update + version bump + added testmod
2022-11-06 11:02:02 +01:00
Szum123321
8427eebfcc
Added 'latest' keyword to restore ( #85 )
...
RestoreHelper::getAvailableBackups now returns sorted LinkedList
2022-11-06 11:00:14 +01:00
Szum123321
2f11548fef
bugfix + typos
2022-11-06 10:59:03 +01:00
Szum123321
015184a232
added dev notes
2022-11-06 10:56:27 +01:00
Szum123321
14e82639a8
further dev environment shenanigans
2022-11-05 13:33:49 +01:00
Szum123321
3f2658ed96
Cleanup is now implements Callable
2022-11-05 13:31:44 +01:00
Szum123321
fe25b1eec5
typos
2022-11-05 13:30:45 +01:00
Szum123321
53a5639373
repaired bad error handling
2022-10-04 18:56:48 +02:00
Szum123321
dc974aa35b
improved comment quality
2022-10-04 18:56:08 +02:00
Szum123321
13a114baa6
gradlew update
2022-09-04 10:55:06 +02:00
Szum123321
4cbe18f318
removed deprecated code
2022-09-04 10:49:49 +02:00
Szum123321
dc24d51674
stream is closed
2022-09-04 10:49:08 +02:00
Szum123321
8b7dbdc8e8
added better catch and changed default executorService to null
2022-09-02 21:05:27 +02:00
Szum123321
2bde644c76
loom update
2022-08-31 23:00:48 +02:00
Szum123321
b908e651a1
Forgot to commit
2022-08-31 23:00:24 +02:00
Szum123321
81c5cd04cb
Commented some more code.
...
BackupScheduler is now static
2022-08-31 22:53:30 +02:00
Szum123321
6707e813b2
explicit presence declaration
2022-08-31 22:50:48 +02:00
Szum123321
91447b7b3c
This shouldn't be here...
2022-08-31 22:42:39 +02:00
Szum123321
8cede17568
because of that return, the finally block would never run
2022-08-31 22:36:50 +02:00
Szum123321
c7fd6d3f8e
Did I forget the sort?
2022-08-31 22:32:56 +02:00
Szum123321
c22eb7a3b2
made cleanup more readable
2022-08-30 14:46:15 +02:00
Szum123321
21cf46a56a
Moved all filename paring into its own class
2022-08-30 13:28:30 +02:00
Szum123321
b3a340deab
Separated BackupHelper into the factory and the cleanup (MakeBackupRunnableFactory & Cleanup)
2022-08-30 01:31:43 +02:00
Szum123321
b7da7dbc6f
Replaced Statics with Globals - now a singleton
...
Moved updateTMPFSFlag from Utilities to Statics/Globals
Added proper shutdown procedure for executorService (shutdownQueueExecutor) - should repair #37
Refactored some commands
2022-08-30 01:15:56 +02:00
Szum123321
03743dbdc9
1.19 update
2022-08-25 21:50:57 +02:00
Szum123321
2f8857f630
Update README.md
...
Typo
2022-07-02 16:47:16 +02:00
Szum123321
e063c26d16
Delete README_zh-CN.md
2022-06-27 21:51:04 +02:00
Szum123321
cb72067275
Update README.md
2022-06-23 23:39:01 +02:00
Szum123321
1e60c05477
Update README.md
2022-06-23 23:31:30 +02:00
Szum123321
4fa30024cf
Update build.gradle
...
NIO methods are only available in Apache 1.21
2022-06-22 23:02:46 +02:00
Szum123321
a9befa2301
Repaired BackupHelper
2022-06-22 21:32:20 +02:00
Szum123321
267776789d
Merge pull request #102 from Szum123321/safe_restore
...
Safe restore
2022-06-22 20:04:25 +02:00
Szum123321
27aa40027c
dropped unnecessary accessors in BackupContext (record)
2022-06-22 20:02:37 +02:00
Szum123321
fd02df7022
Cleaner cleanup algorithm
2022-06-18 08:30:36 +02:00
Szum123321
3f1f1704b1
Added safe restore
2022-06-17 23:14:14 +02:00
Szum123321
b4597f6f1f
pt III, slowly moving to the new file handling api (File -> Path)
2022-06-17 22:43:41 +02:00
Szum123321
a85db99d82
pt II, slowly moving to the new file handling api (File -> Path)
2022-06-17 21:33:13 +02:00
Szum123321
6897b94afc
slowly moving to the new file handling api (File -> Path)
2022-06-17 21:15:50 +02:00
Szum123321
a4bf645ef7
final dependency update. rolled back release version
2022-06-16 21:40:05 +02:00
Szum123321
04fec113d9
Merge pull request #98 from IzzyBizzy45/2.x
...
1.19 update
TMP filesystem read-only fix
2022-06-12 22:02:29 +02:00
IzzyBizzy
f06cdb6e3c
"TMP filesystem ({}) is read-only!" Fix
...
TMP filesystem ({}) is read-only! was showing up when running on windows environment. May be wrong in removing the .resolve part, but found that Java was trying to locate a file that wasn't being created when the server/client was ran, resulting in the check failing. Removing the resolve still seems to pickup if a directory is read only so should be good still (hopefully lol)
2022-06-10 19:13:29 +10:00