Restore di client Windows con BackupPc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 47: | Line 47: | ||
==Sistemazione ACL e boot sector== | ==Sistemazione ACL e boot sector== | ||
* TBD | * TBD | ||
==Riferimenti== | |||
*[http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/bare-metal-restore-110957/ Backup Central Forums :: View topic - bare metal restore?] | |||
*[http://adsm.org/lists/html/BackupPC-users/2009-11/msg00333.html Re: [(BackupPC-users) Windows bare metal restore] | |||
*[http://www.sysint.no/nedlasting/mbrfix.htm MBR Fix - Fix MBR problems] | |||
*[http://www.goodjobsucking.com/?p=219 Restoring Windows XP with BackupPC | Good Job Sucking] | |||
Revision as of 10:42, 28 February 2012
- Si suppone di avere un backup VSS dell'installazione, con il file contenente le ACL generate con subinacl
Preparazione del client
- Fare il boot con clonezilla
- Diventare root
sudo -i
- Creare una partizione con
id=7 boot
- Formattare la partizione in ntfs
mkfs.ntfs -f /dev/mydevice
- Montare la partizione in /mnt
mount /dev/mydevice /mnt
- Abilitare la rete, si suppone che l'indirizzo sarà 1.2.3.4
- Mettere in ascolto il tar con netcat
netcat -l -p 8888 | tar -xpv -C /mnt
Restore dal Server
- I files sono backuppati da /cygdrive/c/shadow e sono in /c
- Sul server, elencare i files da restorare, ad esempio:
VERIFICARE lo strip del percorso per errore:
tar: ./cygwin/usr/share/zoneinfo/Etc/Zulu: Cannot hard link to `c/cygwin/usr/share/zoneinfo/Etc/UTC': No such file or directory
sudo -u backuppc /usr/share/backuppc/bin/BackupPC_tarCreate -n -1 -h windowshost -l -r /c -p -s /cygdrive/c/shadow c/
- -n -1: restore dell'ultima sessione
- -h windowshost: nome dell'host da restorare in backuppc
- -l: elenca, non restorare
- -r /c: elimina il prefisso c/
- -p : sostituisci il prefisso eliminato con niente
- -s /cygdrive/c/shadow: seleziona la share da backuppare
- c/: è la cartella da restorare, che in realtà è la vss di C:\
- Se i percorsi sono corretti, lanciare il restore vero e proprio, togliendo -l e indirizzando l'output in netcat
sudo -u backuppc /usr/share/backuppc/bin/BackupPC_tarCreate -n -1 -h windowshost -r /c -p -s /cygdrive/c/shadow c/ | netcat 1.2.3.4 8888
Sistemazione ACL e boot sector
- TBD