diff options
author | Keuin <[email protected]> | 2024-01-20 00:58:31 +0800 |
---|---|---|
committer | Keuin <[email protected]> | 2024-01-20 01:43:30 +0800 |
commit | 62ae677f748d90f8117bd063938a4b77f6ad0705 (patch) | |
tree | 8491bed3ad4d6d1a820068d85602ca734a67603f /src/main/java/com/keuin/kbackupfabric/operation | |
parent | 61aa66b558ae8f2987a238216ac01e375f195c1e (diff) |
feature: native copy-on-write support
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/operation')
-rw-r--r-- | src/main/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethod.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethod.java b/src/main/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethod.java index cfc9b81..3e85f13 100644 --- a/src/main/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethod.java +++ b/src/main/java/com/keuin/kbackupfabric/operation/backup/method/ConfiguredIncrementalBackupMethod.java @@ -46,7 +46,7 @@ public class ConfiguredIncrementalBackupMethod implements ConfiguredBackupMethod @Override public IncrementalBackupFeedback backup() { final int hashFactoryThreads = ThreadingUtil.getRecommendedThreadCount(); // how many threads do we use to generate the hash tree - LOGGER.info("Threads: " + hashFactoryThreads); + PrintUtil.info("Threads: " + hashFactoryThreads); // needed in abort progress File levelPathFile = new File(levelPath); @@ -99,6 +99,7 @@ public class ConfiguredIncrementalBackupMethod implements ConfiguredBackupMethod PrintUtil.info("Incremental backup finished."); feedback = new IncrementalBackupFeedback(true, copyResult); } catch (IOException e) { + PrintUtil.error("Incremental backup failed: " + e + e.getMessage()); feedback = new IncrementalBackupFeedback(e); } |