Skip to content

Instantly share code, notes, and snippets.

View healthy-tree's full-sized avatar
😂
I may be slow to respond.

Kevin Lee healthy-tree

😂
I may be slow to respond.
View GitHub Profile
@healthy-tree
healthy-tree / some-docker-restore-backup-mysql.sh
Last active July 12, 2023 02:52
Docker Dump and restore MySQL All Databases
# backup
docker exec -it container mysqldump -u**** -p*** --all-databases > mysql_dump_yyyy_mm_dd.sql
# restore
cat backup.sql | docker exec -it container mysql -u**** -p**** --all-databases

Oh my zsh.

Oh My Zsh

Install ZSH.

sudo apt install zsh-autosuggestions zsh-syntax-highlighting zsh

Install Oh my ZSH.