capabilities.work

Clone a Database and Verify

A 2-step recipe with Snowflake. We can help you get access.

Recipe · 2 steps

Clone a Database and Verify

Clone a source database into a new database, then fetch the clone to confirm.

  1. Clone the source database into the target database name.
  2. Describe the cloned database to confirm it was created.
What you'll need to have ready
  • authToken: Bearer token (KEYPAIR_JWT, OAUTH, or programmatic access token).
  • tokenType: Value for the X-Snowflake-Authorization-Token-Type header.
  • sourceDatabase: Name of the existing database to clone from.
  • targetDatabase: Name of the new database to create as the clone.
  • pointOfTime: Optional point-of-time specifier to clone the database as of a past moment.
For your developer

Arazzo workflow snowflake:clone-database-and-verify, 2 operations: cloneDatabase → fetchDatabase. Specs on APIs.io.