From 936f50039a111432cb2138cbe87384d47a41b39a Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 4 Nov 2018 13:01:15 -0800 Subject: [PATCH] Updated Async Replication to another Filer (markdown) --- Async-Replication-to-another-Filer.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Async-Replication-to-another-Filer.md b/Async-Replication-to-another-Filer.md index eb97929..f26dd1d 100644 --- a/Async-Replication-to-another-Filer.md +++ b/Async-Replication-to-another-Filer.md @@ -54,3 +54,9 @@ Please read the source.filer and sink.filer configurations carefully and make su * Start the Kafka. * Start the replication. "`weed filer.replicate`" * Start the filer. "`weed filer`" + +# Replicate existing files + +The `weed filer.replicate` only replicates files that have been updated. If there are already a lot of files, very likely you would need to copy them too. + +To do this, use `weed filer.export -targetStore=notification`, which will iterate all files and generate one "file creation" event to the message queue. Thus, all files will be replicated. \ No newline at end of file