Salut! Vreau sa fac o duplicare de hard disk remote cu rsync.Am urmatoarea configuratie Pe masina de pe care vreau sa fac backup hda ( hard disk masina remote pe care vreau sa-l duplic)
Pe masina client am un "hda" si un "hdc" Tot ce vreau sa fac e sa pun sistemul de pe hda ( remote pe hdc-ul local ) Iata cum fac : 1) pe sistemul remote : dd if=/dev/hda of=hda.mbr count=1 bs=512 ( backup MBR ) sfdisk -d /dev/hda > hda.sf 2) Pe sistemul local pe care vreau sa fac duplicarea scp root@ip_remote:/locatie_mbr/hda.mbr . (restore remote MBR) dd if=hda.mbr of=/dev/hdc sfdisk /dev/hdc < hda.sf mke2fs -c /dev/hdc1 mke2fs -c /dev/hdc5 mount /dev/hdc1 /mnt/disk1 mount /dev/hdc5 /mnt/disk2 VERIFIC tabelele de partitie si vad ca sint identice fdisk -l /dev/hda ( remote ) fdisk -l /dev/hdc ( local) Lansez rsync client rsync -p -H -a -v root@ip_remote::out /mnt/disk1/ unde rsyncd.conf [out] comment = For your eyes only path = / auth users = root hosts allow = IP_LOCAL hosts deny = * Backup-ul se face dar in momentul cand bootez dupa hardul nou creat ramane in clasicul "LI" Cele doua harduri nu au aceeasi geometrie dar stiu ca ar trebui sa mearga totusi. Probabil gresesc undeva si nu vad unde Multumesc George --- exploreaza Romania Online! http://www.ROL.ro --- Pentru dezabonare, trimiteti mail la [EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'. REGULI, arhive si alte informatii: http://www.lug.ro/mlist/
