30
Oct/080
Oct/080
mySQL: How to backup/restore SQL databases through SSH
To backup your database through SSH (create SQL dump):
mysqldump --opt -u user -p dbname > {path}/backup.sql
To restore:
mysql -u user -p dbname < {path}/backup.sql
Recent Comments
- Ali on Protected: WMC Events
- Mark on Debian: Lenny cannot load Broadcom NIC drivers, asking for firmware bnx2-06-4.0.5.fw or bnx2-09-4.0.5.fw during install
- Ali on Debian: Lenny cannot load Broadcom NIC drivers, asking for firmware bnx2-06-4.0.5.fw or bnx2-09-4.0.5.fw during install
- Mark on Debian: Lenny cannot load Broadcom NIC drivers, asking for firmware bnx2-06-4.0.5.fw or bnx2-09-4.0.5.fw during install
- Ali on Debian: Lenny cannot load Broadcom NIC drivers, asking for firmware bnx2-06-4.0.5.fw or bnx2-09-4.0.5.fw during install
Tag Cloud
Categories
Google Sci/Tech Feed
- GDC Preview: Macs, iPads to get attention at gaming event - Macworld
- EFF publishes iPhone developer agreement - Macworld
- Microsoft begins rolling out redesigned MSN homepage - Ars Technica
- NASA: Space Shuttles Could Fly Longer With Extra Funds - Space.com
- Stock Picks: Apple, Intel, Aetna, H&R Block - BusinessWeek