Updated Async Filer Metadata Backup (markdown)

Chris Lu 2021-11-26 17:25:27 -08:00
parent 1d496a9e34
commit 6348262740

@ -3,17 +3,9 @@ It is desirable to have a copy of the filer metadata. However, it is not always
* The store is embedded leveldb, RocksDB, etc.
* It is just complicated.
There are two ways to ensure a copy of the meta data.
# Separate Filer instances connected with "-peers" option
With `-peers` option, if the filers are not sharing the same filer metadata store, the metadata changes are asynchronously propagated to all peers. So there will be multiple copies of filer metadata.
See https://github.com/chrislusf/seaweedfs/wiki/Filer-Store-Replication#file-store-replication
# Async filer metadata backup to a different store
We can also continuously backup filer metadata to a different store, without running a filer instance.
We can continuously backup filer metadata to a different store, without running a filer instance.
```
Metadata Changes
Filer --------------------> `weed filer.meta.backup` ---> A backup store(LevelDB/RocksDB/