aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-01-28 02:39:22 -0800
committerChris Lu <chris.lu@gmail.com>2021-01-28 02:39:22 -0800
commit9a06c35da40b9d4b5b687b7300fed4196020f375 (patch)
tree1aa516d4f95d0400c688ab3044a516bb84769cb1 /weed/command/scaffold.go
parentda08402ba253fe5391f0152905f51f82c51fd527 (diff)
downloadseaweedfs-9a06c35da40b9d4b5b687b7300fed4196020f375.tar.xz
seaweedfs-9a06c35da40b9d4b5b687b7300fed4196020f375.zip
replicate: incremental sink only contains new and updated files
address https://github.com/chrislusf/seaweedfs/commit/da08402ba253fe5391f0152905f51f82c51fd527
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 3ac7c021d..58143a0ad 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -356,7 +356,8 @@ enabled = false
directory = "/data"
[sink.local_incremental]
-# all replicated files are under creation time as yyyy-mm-dd directories
+# all replicated files are under modified time as yyyy-mm-dd directories
+# so each date directory contains all new and updated files.
enabled = false
directory = "/backup"