aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-01-28 02:17:41 -0800
committerChris Lu <chris.lu@gmail.com>2021-01-28 02:17:41 -0800
commitda08402ba253fe5391f0152905f51f82c51fd527 (patch)
tree3f62e21364b01ff9f15768b6c898df99554a5869 /weed/command/scaffold.go
parent822f1ade9d3f613e4f400ed0945f52b3bbba3780 (diff)
downloadseaweedfs-da08402ba253fe5391f0152905f51f82c51fd527.tar.xz
seaweedfs-da08402ba253fe5391f0152905f51f82c51fd527.zip
replicate: use creation time for local incremental file sink
related to https://github.com/chrislusf/seaweedfs/pull/1762
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index a95c41054..3ac7c021d 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -354,11 +354,10 @@ directory = "/buckets"
[sink.local]
enabled = false
directory = "/data"
-todays_date_format = "" # set this to 2006-02-01 for incremental backup
[sink.local_incremental]
+# all replicated files are under creation time as yyyy-mm-dd directories
enabled = false
-# all replicated files are under modification time date directory tree
directory = "/backup"
[sink.filer]