Clone
Learn how to clone databases and environments in Piglet Run.
Overview
Cloning allows you to create exact copies of:
- Database: Clone a database for testing or development
- Environment: Clone the entire Piglet Run instance
- Schema Only: Clone structure without data
Quick Clone
Clone a database instantly:
Clone Database
Full Clone
Schema Only
Clone with Data Filter
Clone Environment
Create Environment Clone
Clone to Remote Server
Clone from Snapshot
Clone Options
| Option | Description |
|---|---|
--schema-only |
Clone structure without data |
--no-owner |
Skip ownership information |
--no-privileges |
Skip privilege information |
--parallel N |
Use N parallel jobs |
Use Cases
- Development: Clone production for local development
- Testing: Create isolated test environments
- Analytics: Clone for reporting without impacting production