Skip to content

Commit

Permalink
fix: example in backup policy creation
Browse files Browse the repository at this point in the history
  • Loading branch information
lizzy-0323 committed Dec 17, 2024
1 parent 0a298c6 commit f0d4bc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cli/cmd/backup/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (

var createExample = `
# Create a backup policy by OSS
obocli backup create <tenant_name> --archive-path=oss://<bucket_name>/<path> --bak-data-path=oss://<bucket_name>/<path> --oss-access-id=<access_id> --oss-access-key=<access_id>
obocli backup create <tenant_name> --archive-path=oss://<bucket_name>/<path> --bak-data-path=oss://<bucket_name>/<path> --oss-access-id=<access_id> --oss-access-key=<access_key>
# Create a backup policy by NFS
obocli backup create <tenant_name> --archive-path=nfs://<nfs_server>/<path> --bak-data-path=nfs://<nfs_server>/<path> --bak-encryption-password=<password>
obocli backup create <tenant_name> --archive-path=<path> --bak-data-path=<path> --bak-encryption-password=<password>
`

// NewCreateCmd create an new backup policy
Expand Down

0 comments on commit f0d4bc4

Please sign in to comment.