Tag: restore
Backup and Restore Boot sector
June 20, 2009
Use these commands to backup/restore your boot sector dd if=/dev/hda of=bootsector.img bs=512 count=1 # backup dd if=bootsector.img of=/dev/hda #restore Original…
Backup MBR to Image File
March 17, 2009
Make a copy of MBR (Master Boot Record) to a file. dd if=/dev/hda of=mbr.img bs=512 count=1 dd if=mbr.img of=/dev/hda bs=512…
Import All MySQL Sql Dumps in a Folder
December 1, 2008
This command will import all the MySQL sql dumps in the current folder. You can use this to restore your…
Restore Backup Created by dump
May 10, 2008
Restoring a backup created by the dump command. restore -if home_backup.bak
Backup All Databases in MySQL
August 24, 2007
Backup all files in /var/lib/mysql to another folder To restore, stop mysqld if it is running service stop mysqld Move…
MySQL Database Backup/Restore
March 17, 2007
This command can be used to backup MySQL database. mysqldump -u <User> -p <Database name> [<Table name>] > backup.sql This…
Recent Comments