Skip to content

Database Download #3

@cb341

Description

@cb341

Alessandro wants to have a command to download a mysql dump.
At the moment it is a manual process:

# Replace `$FQDN` with e.g. `develop.{...}.mysql.nineapis.ch`
scp -rC dbadmin@$FQDN:backup/mysql/latest/customer/develop .
docker cp develop {...}:develop
rm -rf develop
docker exec -it {...} bash
zstdcat develop/*.zst | mysql {...}
rm -rf develop

Would be nice if we could instead do something like:

depl dump project-namespace

TODO: REFINE

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions