SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
Fix filer.backup deletes files in backup folder in incremental mode
chrislu1384529eb745
diff --git a/weed/command/filer_sync.go b/weed/command/filer_sync.goindex 37ce2aa73b..e3d3b97bca 100644--- a/weed/command/filer_sync.go+++ b/weed/command/filer_sync.go@@ -267,7 +267,10 @@ func genProcessFunction(sourcePath string, targetPath string, dataSink sink.Replreturn nil}key := buildKey(dataSink, message, targetPath, sourceOldKey, sourcePath)- return dataSink.DeleteEntry(key, message.OldEntry.IsDirectory, message.DeleteChunks, message.Signatures)+ if !dataSink.IsIncremental() {+ return dataSink.DeleteEntry(key, message.OldEntry.IsDirectory, message.DeleteChunks, message.Signatures)+ }+ return nil}// handle new entries