aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_meta_backup.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-03 01:30:35 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-03 01:30:35 -0700
commit3afbf04007eb1e6c7d79e652545d24e7a8e7d509 (patch)
tree48c1a90f0128f1f4e2e8a5b21ab681ad1e168bd6 /weed/command/filer_meta_backup.go
parentfe60c6ef9a09f2190926a49aaf3c15ab29bf5812 (diff)
downloadseaweedfs-3afbf04007eb1e6c7d79e652545d24e7a8e7d509.tar.xz
seaweedfs-3afbf04007eb1e6c7d79e652545d24e7a8e7d509.zip
add TLS grpc support for filer meta clients
Diffstat (limited to 'weed/command/filer_meta_backup.go')
-rw-r--r--weed/command/filer_meta_backup.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/filer_meta_backup.go b/weed/command/filer_meta_backup.go
index ba0b44659..28bd367e7 100644
--- a/weed/command/filer_meta_backup.go
+++ b/weed/command/filer_meta_backup.go
@@ -53,6 +53,7 @@ The backup writes to another filer store specified in a backup_filer.toml.
func runFilerMetaBackup(cmd *Command, args []string) bool {
+ util.LoadConfiguration("security", false)
metaBackup.grpcDialOption = security.LoadClientTLS(util.GetViper(), "grpc.client")
// load backup_filer.toml