Quantcast
Channel: txt » backup
Browsing latest articles
Browse All 10 View Live

Incremental Backup using dump

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

View Article



Restore Backup Created by dump

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

View Article

Rsync via SSH tunnel

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

View Article

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 backuped databases. for i in *; do mysql -uroot `basename $i .sql`

View Article

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

View Article


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 user@ip_addr 'dd of=hda.gz'

View Article

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

View Article

Incremental Backup with tar

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

View Article


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 Article

View Article


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

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images