This is a handy one-liner to copy a remote MySQL database locally. ssh sudo mysqldump –create-options –complete-insert –flush-logs –hex-blob –quote-names | sudo mysql
Copy MySQL database from one machine to another
By rsnow | Published July 9th, 2010One line VPN with PPP over SSH
By rsnow | Published July 9th, 2010Here is a handy one-liner to create a VPN over SSH using PPP. It has its drawbacks as you have PPP (TCP) inside of SSH (TCP) which means it will be kind of nasty over a link that is dropping packets, but it is still very handy. /usr/sbin/pppd updetach noauth silent nodeflate pty “/usr/bin/ssh root@remote-gw…
Cloning a Solaris disk with dd
By rsnow | Published July 9th, 2010This is an oldie, but goodie, it is how to clone a Solaris disk via the dd command. People have been asking me to bring it back online, so here it is. Keep in mind that the newly cloned system may have some confusion about it’s /etc/vfstab, so be aware that if you encounter issues…
Friday Frenzy in the Training Room
By admin | Published May 29th, 2010Quickly deploy your training environments with ADS.
