Skip to content

Instantly share code, notes, and snippets.

@OpenPrunus
OpenPrunus / RLinux.png
Last active January 9, 2024 22:18
FCSC 2021 challenge Rituel du Boutisme
RLinux.png
@OpenPrunus
OpenPrunus / mysql-docker.sh
Created January 2, 2020 14:19 — forked from spalladino/mysql-docker.sh
Backup and restore a mysql database from a running Docker mysql container
# Backup
docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
# Restore
cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE

Keybase proof

I hereby claim:

  • I am openprunus on github.
  • I am prunus (https://keybase.io/prunus) on keybase.
  • I have a public key ASCr6tOcHW5ETSSLgrYEH9aNeJUJYqaQ0yzsU43oIOIstwo

To claim this, I am signing this object: