Posts Tagged With: backup

Backup Del.icio.us posts

Tagged with: , , , , ,

Backup all delicious bookmarks using this command


wget --user=username --password=password https://api.del.icio.us/v1/posts/all -O bookmarks.xml
No Comments »

Backup and Restore Boot sector

Tagged with: , , , , , , ,

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 Article

No Comments »

Incremental Backup with tar

Tagged with: , , , , , ,

Make a incremental backup of directory ‘/home/binnyva’


tar -Puf backup.tar /home/binnyva
No Comments »

Backup MBR to Image File

Tagged with: , , , , , , ,

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 count=1 #restore the MBR
No Comments »

Backup HDD To Remote Host

Tagged with: , , , , , , , , , , ,

Make a backup of a local hard disk on remote host via ssh


dd bs=1M if=/dev/hda | gzip | ssh user@ip_addr 'dd of=hda.gz'
No Comments »

Backup Entire Harddrive to an Image

Tagged with: , , , , , , , ,

Backup content of the harddrive to a file. Creates an image of the drive


dd if=/dev/sda of=/tmp/sda.iso
4 Comments »

Import All MySQL Sql Dumps in a Folder

Tagged with: , , , , , , , , , ,

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


for i in *; do mysql -uroot `basename $i .sql` < $i;  done
No Comments »

Rsync via SSH tunnel

Tagged with: , , , , ,

Rsync via SSH tunnel


rsync -rogpav -e ssh --delete /home/binnyva 192168.0.30:/var/Backup/home
1 Comment »

Restore Backup Created by dump

Tagged with: , , , ,

Restoring a backup created by the dump command.


restore -if home_backup.bak
1 Comment »

Incremental Backup using dump

Tagged with: , , , ,

Make a incremental backup of directory ‘/home/binnyva’


dump -1aj -f home.bak /home/binnyva/
No Comments »