mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 03:58:51 +08:00
replicate: use creation time for local incremental file sink
related to https://github.com/chrislusf/seaweedfs/pull/1762
This commit is contained in:
@@ -11,7 +11,6 @@ import (
|
||||
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/b2sink"
|
||||
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/filersink"
|
||||
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/gcssink"
|
||||
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/localincrementalsink"
|
||||
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/localsink"
|
||||
_ "github.com/chrislusf/seaweedfs/weed/replication/sink/s3sink"
|
||||
"github.com/chrislusf/seaweedfs/weed/replication/sub"
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user