GitHub

Managing deployment

Database

Thanks to Outblocks you can very easily access and manage your database using those commands:

  • gcp-dbdump - Dump database to a local file
  • gcp-dbproxy - Create a database proxy
  • gcp-dbrestore - Restore database from local file

Accessing database

To create a local tunnel to your database and get the password for a specified user, use gcp-dbproxy command:

ok gcp-dbproxy --env=staging --user=<username>

If you know the password, you can omit --user flag.

Previous
Storage