Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nplusp/08b4df00aee385d4eeed to your computer and use it in GitHub Desktop.
Save nplusp/08b4df00aee385d4eeed to your computer and use it in GitHub Desktop.
ssh -C app@IP_ADDRESS 'cat /var/www/apps/WEBSITE/backups/dump.sql.bz2' | bunzip2 -dc | rails db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment