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
Related posts:
- Backup Exec: Transfer scheduled jobs, database and settings to a new backup server
- Linux: A simple and quick way of sharing a folder with Windows systems using Samba
- Debian: Symantec Backup Exec 12 and Debian Etch 32/64
- Linux: vsftpd and symbolic links
- Linux: htpasswd: command not found
Enjoy this article?
Comments (0)
Trackbacks (0) ( subscribe to comments on this post )
No comments yet.
Leave a comment
No trackbacks yet.