typos
parent
7734c16e06
commit
993d6359ad
|
@ -124,7 +124,7 @@ public class ConfigPOJO implements ConfigData {
|
||||||
public ArchiveFormat format = ArchiveFormat.ZIP;
|
public ArchiveFormat format = ArchiveFormat.ZIP;
|
||||||
|
|
||||||
@Comment("""
|
@Comment("""
|
||||||
The Strict mode (default) aborts backup creation in case of any problem and deletes the created files
|
\nThe Strict mode (default) aborts backup creation in case of any problem and deletes created files
|
||||||
Permissible mode keeps partial/damaged backup but won't allow to restore it
|
Permissible mode keeps partial/damaged backup but won't allow to restore it
|
||||||
Very Permissible mode will skip the verification process. THIS MOST CERTAINLY WILL LEAD TO DATA LOSS OR CORRUPTION
|
Very Permissible mode will skip the verification process. THIS MOST CERTAINLY WILL LEAD TO DATA LOSS OR CORRUPTION
|
||||||
""")
|
""")
|
||||||
|
|
|
@ -59,7 +59,7 @@ public class MakeBackupRunnable implements Callable<Void> {
|
||||||
log.trace("Outfile is: {}", outFile);
|
log.trace("Outfile is: {}", outFile);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
//I think I should synchronise those two next calls...
|
//I think I should synchronise these two next calls...
|
||||||
Utilities.disableWorldSaving(context.server());
|
Utilities.disableWorldSaving(context.server());
|
||||||
Globals.INSTANCE.disableWatchdog = true;
|
Globals.INSTANCE.disableWatchdog = true;
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ public class MakeBackupRunnable implements Callable<Void> {
|
||||||
try {
|
try {
|
||||||
Files.delete(outFile);
|
Files.delete(outFile);
|
||||||
} catch (IOException ex) {
|
} catch (IOException ex) {
|
||||||
log.error("An exception occurred while tryin go delete: {}", outFile, ex);
|
log.error("An exception occurred while trying go delete: {}", outFile, ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue