diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2021-01-26 22:31:54 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-26 22:31:54 -0800 |
| commit | 5e07afb0f0c1eca20da0780c806973db40ea6a24 (patch) | |
| tree | 2d2167b2fb8994a1319d8c72c2f9f10087bf9daa /weed/command | |
| parent | b3f66199db4b6a9da48f091a33e87470877d6d73 (diff) | |
| parent | 612b7975a12da0ff7d84781b1bea338a5f4814c6 (diff) | |
| download | seaweedfs-5e07afb0f0c1eca20da0780c806973db40ea6a24.tar.xz seaweedfs-5e07afb0f0c1eca20da0780c806973db40ea6a24.zip | |
Merge pull request #1759 from kmlebedev/sink.local
replication to local disk storage
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/filer_replication.go | 1 | ||||
| -rw-r--r-- | weed/command/scaffold.go | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/weed/command/filer_replication.go b/weed/command/filer_replication.go index 0b6eaf94e..e8c06b208 100644 --- a/weed/command/filer_replication.go +++ b/weed/command/filer_replication.go @@ -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/localsink" _ "github.com/chrislusf/seaweedfs/weed/replication/sink/s3sink" "github.com/chrislusf/seaweedfs/weed/replication/sub" "github.com/chrislusf/seaweedfs/weed/util" diff --git a/weed/command/scaffold.go b/weed/command/scaffold.go index 8b74274e5..415e0cba3 100644 --- a/weed/command/scaffold.go +++ b/weed/command/scaffold.go @@ -350,6 +350,10 @@ grpcAddress = "localhost:18888" # i.e., all files with this "prefix" are sent to notification message queue. directory = "/buckets" +[sink.local] +enabled = false +directory = "/backup" + [sink.filer] enabled = false grpcAddress = "localhost:18888" |
