From f88b9a643d6c01b1468d3842e20fce8f4bfbf860 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 28 Dec 2025 11:39:06 -0800 Subject: [PATCH] add one example --- weed/shell/command_remote_configure.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/weed/shell/command_remote_configure.go b/weed/shell/command_remote_configure.go index aa2f3d1d4..66dc21ea6 100644 --- a/weed/shell/command_remote_configure.go +++ b/weed/shell/command_remote_configure.go @@ -4,15 +4,16 @@ import ( "context" "flag" "fmt" + "io" + "regexp" + "strings" + "github.com/seaweedfs/seaweedfs/weed/filer" "github.com/seaweedfs/seaweedfs/weed/pb/filer_pb" "github.com/seaweedfs/seaweedfs/weed/pb/remote_pb" "github.com/seaweedfs/seaweedfs/weed/remote_storage" "github.com/seaweedfs/seaweedfs/weed/util" "google.golang.org/protobuf/proto" - "io" - "regexp" - "strings" ) func init() { @@ -34,6 +35,7 @@ func (c *commandRemoteConfigure) Help() string { # set or update a configuration remote.configure -name=cloud1 -type=s3 -s3.access_key=xxx -s3.secret_key=yyy -s3.region=us-east-2 + remote.configure -name=cloud1_deep -type=s3 -s3.access_key=xxx -s3.secret_key=yyy -s3.region=us-east-2 -s3.storage_class=DEEP_ARCHIVE remote.configure -name=cloud2 -type=gcs -gcs.appCredentialsFile=~/service-account-file.json -gcs.projectId=yyy remote.configure -name=cloud3 -type=azure -azure.account_name=xxx -azure.account_key=yyy remote.configure -name=cloud4 -type=aliyun -aliyun.access_key=xxx -aliyun.secret_key=yyy -aliyun.endpoint=oss-cn-shenzhen.aliyuncs.com -aliyun.region=cn-sehnzhen