Backup a remote MySQL database to your local hard disk


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ssh user@example.com 'mysqldump -q -u database_user -p database optional_table' > backup.sql

Report this snippet


Comments


You need to login to view comments.