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 all delicious bookmarks using this command
wget --user=username --password=password https://api.del.icio.us/v1/posts/all -O bookmarks.xml
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
Make a incremental backup of directory ‘/home/binnyva’
tar -Puf backup.tar /home/binnyva
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
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'
Backup content of the harddrive to a file. Creates an image of the drive
dd if=/dev/sda of=/tmp/sda.iso
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
Rsync via SSH tunnel
rsync -rogpav -e ssh --delete /home/binnyva 192168.0.30:/var/Backup/home
Restoring a backup created by the dump command.
restore -if home_backup.bak
Make a incremental backup of directory ‘/home/binnyva’
dump -1aj -f home.bak /home/binnyva/