Tag: backup

Backup Del.icio.us posts

Backup all delicious bookmarks using this command wget –user=username –password=password https://api.del.icio.us/v1/posts/all -O bookmarks.xml

Backup and Restore Boot sector

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…

Incremental Backup with tar

Make a incremental backup of directory ‘/home/binnyva’ tar -Puf backup.tar /home/binnyva

Backup MBR to Image File

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…

Backup HDD To Remote Host

Make a backup of a local hard disk on remote host via ssh dd bs=1M if=/dev/hda | gzip | ssh…

Backup Entire Harddrive to an Image

Backup content of the harddrive to a file. Creates an image of the drive dd if=/dev/sda of=/tmp/sda.iso

Import All MySQL Sql Dumps in a Folder

This command will import all the MySQL sql dumps in the current folder. You can use this to restore your…

Rsync via SSH tunnel

Rsync via SSH tunnel rsync -rogpav -e ssh –delete /home/binnyva 192168.0.30:/var/Backup/home

Restore Backup Created by dump

Restoring a backup created by the dump command. restore -if home_backup.bak

Incremental Backup using dump

Make a incremental backup of directory ‘/home/binnyva’ dump -1aj -f home.bak /home/binnyva/