LAMP DB Backup from Command Line Tips

  mysqldump --databases database_one database_two > two_databases.sql
 
  scp your_username@remotehost.edu:foobar.txt /local/dir
  scp -i key_file.pem your_username@remotehost.edu:/remote/dir/foobar.txt /local/dir

  some git tips
  git push https://[username]@github.com/repo.git origin [branchhere]
  git clone -b [branchhere] --single-branch https://github.com/repo.git
It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Leave a Reply

Your email address will not be published. Required fields are marked *