Snapshot - Restoring a volume from Dos |
Quick stepsBoot your system from a DOS boot disk. If you want to (or have to) repartition your drive, because it is new or completely damaged, enter:
This will partition the whole drive (HD1) in exactly the same way as
your original drive.
This restores all data in the automatically selected partition from the image saved on C-drive, will not ask for confirmation (-Y), and will verify that all data were indeed written correctly (-V). DetailsBoot your system (from a DOS bootdisk) When restoring a partition, all data on it will be deleted and replaced
by the data at the time of the backup. After the restore, the system will be identical to the time you
created the image. To restore an image, the imagefile must be accessible to DOS (you must be
able to say C:>DIR); for more information about how to access a file on
CDROM, Network, or local NTFS click here. actions to be performed
show information about the hard disk's partition structuresnapshot.exe show [HDx] [HDx]: number of hard disk, HD1 is the first hard disk A:>SNAPSHOT SHOW HD1 SNAPSHOT for DOS V1.21 [Feb 27 2003] Copyright (c) tom ehlert 1 hard disk(s) detected disk 1 - 1022 cylinders, 255 heads, 63 sectors, 512 byte total physical size 29314 MB Primary partitions start - end : start, size 1:06 FAT16 CHS 0 1 1- 129 254 63 : 0MB, 1020MB 2:05 extended Part. show information about the Image filesnapshot.exe show imagefile imagefile: path and name of the image file This shows information about the saved volume as it was stored at backup
time. A:>snapshot show x:\c-drive.sna Information about the saved volume from <x:\c-drive.sna> Computer 'TP', drive C:, Label 'C-TP ', Filesystem FAT (06) Hard disk 1 Primary Partition 1- size 2.097.393.664 =1999MB total size 1999 MB - 420 MB free - 32768 Bytes per cluster disk 1 - 1222 cylinders, 255 heads, 63 sectors, 512 byte total physical size 9585 MB Primary partitions start - end : start, size 1:06 FAT16 CHS 0 1 1- 254 254 63 : 0MB, 2001MB 2:0F extended Part CHS 255 0 1-1023 254 63 : 2000MB, 7586MB Logical partitions 1:07 NTFS inst FS CHS 255 1 1- 514 254 63 : 2000MB, 2040MB 2:06 FAT16 CHS 515 1 1- 641 254 63 : 4039MB, 997MB 3:07 NTFS inst FS CHS 642 1 1-1023 254 63 : 5036MB, 2997MB 4:07 NTFS inst FS CHS 1023 1 1-1023 254 63 : 8032MB, 1554MB highest used sector on disk 19631430 (9586 MB) restore the partition structureThis is required, if your disk is new (not
partitioned), or partitioned differently. The necessary information is available in each Snapshot image file. If for some reason you want to partition the disk
in a different way, you have to use FDISK or similar tools. A:>snapshot restore [HDx] partitionstructure imagefile [HDx]: Number of hard disk, starting with HD1 [imagefile]: Path and name of Image file restore the partition dataThe real restore action. snapshot.exe restore [HDx] {auto/primary#/logical#} imagefile [HDx]: Number of hard disk {auto/primary#/logical#}: automatically select the destination partition, or force a primary or logical partition to be restored [imagefile]: Path and name of image file AUTO - PRIMARY1 - LOGICAL5
option -V ( Verify)
Parameter -Y (Yes)
the command to automatically restore the C-drive from network drive W: should look similar to:
test image file for internal consistencyA:>snapshot test X:C-DRIVE.SNA this reads the complete image file, and verifies
readability and consistency. restore Master Boot Sector (MBR)This is rarely needed, but useful if some software installed a different
boot loader in the MBR.
|