To clone a DBCluster custom resource with name "postgresql-src-db" to a new DBCluster custom resource "postgresql-dst-db", run:
gdcloud database clusters clone postgresql-src-db postgresql-dst-db \
--point-in-time=2006-01-02T15:04:05Z
必需标志
--point-in-time string defines a past state of the DBCluster to clone (should be RFC 3339 format).
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-19。"],[[["\u003cp\u003eClones an existing DBCluster custom resource to create a new DBCluster.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying both a source and destination DBCluster name.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003e--point-in-time\u003c/code\u003e flag to define a specific past state for the clone, using RFC 3339 format.\u003c/p\u003e\n"],["\u003cp\u003eSupports common \u003ccode\u003egdcloud\u003c/code\u003e flags such as \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, \u003ccode\u003e--help\u003c/code\u003e, \u003ccode\u003e--project\u003c/code\u003e, and \u003ccode\u003e--quiet\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]