Backup MySQL database locally
Sandip Basnet
Posted on May 24, 2022
1) Make sure remote connection is enabled :MySQL remote access
2) If remote access is allowed:
mysqldump --host <host_address or ip> -P <Port Number(3306)> -u <db username> -p <database_name> > offgrid.sql
💖 💪 🙅 🚩
Sandip Basnet
Posted on May 24, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.