corgi db snapshot
corgi db snapshot
Physical snapshot of a Postgres-family db (--list / --rm to manage)
corgi db snapshot [name] [service] [flags]
Options
--force Overwrite an existing snapshot
-h, --help help for snapshot
--list List snapshots for the service
--rm string Delete a snapshot by name (its .tar.zst + .meta.json)
Options inherited from parent commands
--describe Describe contents of corgi-compose file
--dockerContext string Specify docker context to use, can be default,orbctl,colima (default "default")
-d, --downAll Down all database services, stop and remove all
-l, --exampleList List examples to choose from. Click on any example to download it
-f, --filename string Custom filepath for for corgi-compose
--fromScratch Clean corgi_services folder before running
-t, --fromTemplate string Create corgi service from template url
--fromTemplateName string Create corgi service from template name and url
-g, --global Use global path to one of the services
--interactive Force interactive prompts even when no TTY/agent detected
--json Emit machine-readable JSON output
--privateToken string Private token for private repositories to download files
-r, --removeAll Remove all database services
-o, --runOnce Run corgi once and exit
--seedAll Seed all database services
--silent Hide all welcome messages
-s, --stopAll Stop all database services
-u, --upAll Up all database services, start all
--wait With --upAll: block until each db with a port accepts connections
SEE ALSO
- corgi db - Database action helpers