corgi db restore
corgi db restore
Restore a Postgres-family db from a snapshot
corgi db restore [name|path] [service] [flags]
Options
--force Override a version/arch/image mismatch
-h, --help help for restore
-y, --yes Skip the destructive-wipe confirmation
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