aboutsummaryrefslogtreecommitdiff
path: root/weed/command/scaffold.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <lebedev_k@tochka.com>2021-01-27 12:45:58 +0500
committerKonstantin Lebedev <lebedev_k@tochka.com>2021-01-27 12:45:58 +0500
commit36348114084e7ff583f52ef93a73e1cd8c8f58b5 (patch)
tree470124377fe37747b740fa6ff000018d62f122aa /weed/command/scaffold.go
parent5e07afb0f0c1eca20da0780c806973db40ea6a24 (diff)
downloadseaweedfs-36348114084e7ff583f52ef93a73e1cd8c8f58b5.tar.xz
seaweedfs-36348114084e7ff583f52ef93a73e1cd8c8f58b5.zip
replication to todays date directory
Diffstat (limited to 'weed/command/scaffold.go')
-rw-r--r--weed/command/scaffold.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go
index 415e0cba3..3b88e107d 100644
--- a/weed/command/scaffold.go
+++ b/weed/command/scaffold.go
@@ -329,7 +329,8 @@ enabled = false
# This URL will Dial the RabbitMQ server at the URL in the environment
# variable RABBIT_SERVER_URL and open the exchange "myexchange".
# The exchange must have already been created by some other means, like
-# the RabbitMQ management plugin.
+# the RabbitMQ management plugin. Сreate myexchange of type fanout and myqueue then
+# create binding myexchange => myqueue
topic_url = "rabbit://myexchange"
sub_url = "rabbit://myqueue"
`
@@ -353,6 +354,8 @@ directory = "/buckets"
[sink.local]
enabled = false
directory = "/backup"
+# all replicated files are under todays date directory tree
+todays_date_format = ""
[sink.filer]
enabled = false