Merge pull request #1762 from kmlebedev/backupsink

replication to create time date directory
This commit is contained in:
Chris Lu
2021-01-28 02:03:33 -08:00
committed by GitHub
6 changed files with 45 additions and 18 deletions

View File

@@ -11,6 +11,7 @@ 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"

View File

@@ -353,9 +353,14 @@ directory = "/buckets"
[sink.local]
enabled = false
directory = "/backup"
directory = "/data"
todays_date_format = "" # set this to 2006-02-01 for incremental backup
[sink.local_incremental]
enabled = false
# all replicated files are under modification time date directory tree
directory = "/backup"
[sink.filer]
enabled = false
grpcAddress = "localhost:18888"