Amanda

From dghartung.com/docs

Jump to: navigation, search

http://arc.nucapt.northwestern.edu/Backup#Notes_on_Disaster_Recovery http://www.backupcentral.com/components/com_mambowiki/index.php/Linux_&_Windows_Bare_Metal_Recovery#Image_level_or_filesystem_level.3F http://www.fedoraforum.org/forum/showthread.php?t=975

In a direcory of your choice

amrestore /space/vtapes/test/slots/data/00001.wspa.dghartung.com.C\:.1 wspa

On the machine that needs to be restored boot knoppix Open a konsole

su -
parted /dev/hd$

In parted, have a look at your partition table

print

... On the Client Machine ... mount new ntfs partition to a folder

mkdir /win
mount /dev/hd$1 /win
cd /win
nc -l -p 1234 | tar -xvf -
#Knoppix uses the -p option, other distros dont

On the Amanda Server

su - amandabackup
amadmin test find hostname

Decide which tape to use

amtape test slot $
amrestore -p /space/vtapes/test/slots/data/00001.wspa.dghartung.com.C\:.1 wspa | nc -w 1 fdc 1234


http://forums.zmanda.com/showthread.php?t=303&highlight=windows+amrestore


Taken from : http://www.rajeevnet.com/hacks_hints/os_clone/os_cloning.html

slave% nc -l -p 9000 | dd of=/dev/sda      (Replace /dev/sda with actual drive on your slave machine)
master% dd if=/dev/sda | nc 192.168.0.254 9000

That's it. You may have to wait for long time depending upon network speed and size of your harddrive. Typically 36GB drive may take 50 minutes over 100Mbps link. Again rather than cloning complete drive we can clone only relevant partitions and MBR only. That will make cloning much faster like we saw in above section.

Personal tools