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
REQUIRED FLAGS
--point-in-time string defines a past state of the DBCluster to clone (should be RFC 3339 format).
GDCLOUD WIDE FLAGS
These flags are available to all commands: --configuration, --format, --help, --project, --quiet.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\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,[]]