Skip to content

Instantly share code, notes, and snippets.

@kinobi
Forked from kirkegaard/dumpoverssh.sh
Last active December 10, 2015 04:08
Show Gist options
  • Save kinobi/4379127 to your computer and use it in GitHub Desktop.
Save kinobi/4379127 to your computer and use it in GitHub Desktop.
Récupérer un dump d'une base en local
mysqldump -u MYSQL_USERNAME -pYOUR_PASSWORD YOUR_DATABASE | ssh USERNAME@YOUR_TO_HOST 'cat > ~/dump.sql'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment