Jump to content











Photo
- - - - -

commandline HDD imaging utils


  • Please log in to reply
4 replies to this topic

#1 Technotika

Technotika

    Frequent Member

  • Advanced user
  • 419 posts
  • Location:United Kingdom
  •  
    United Kingdom

Posted 23 April 2011 - 10:15 PM

Hi
Im looking for a FREE HDD IMAGING tool that will allow me to use scripts that auto restore images from a script.
I know ghost is prob best given its extensive commandline capabilties although the USB driver thing is no good at times.

I tried "ODIN" but its not supported in DOS so cant have in floppy image? Any one come across something what I'm after - ta x

#2 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 24 April 2011 - 08:17 AM

There are free versions of Acronis around (DiscWizard, MaxBlast etc) and I think they support same commands as full versions.
TrueImageCmd[Dos].exe /create|/deploy|/list [/harddisk:disk1,disk2]

       [/partition:disk1-part1,disk2-part2] [/incremental]

       [/target_harddisk:disk1] [/target_partition:disk1-part1]

       [/split:split] [/compression:level] [/filename:filename] [/raw]

       [/password:password] [/progress:on|off]

       [/start:start] [/size:size] [/type:type]

       [/fat16_32] [/oss_numbers] [/preserve_mbr]

DriveImage XML allows backup (only) via command line:
/bx	Backup drive x, e.g. /bc

/tx	Write backup files to x, e.g. /td:\backups\drive_c

/r	Raw mode, e.g. /r or /r-

/s	Split image, e.g. /s or /s-

/c	Compression (fast), e.g. /c or /c-

/c1	Compression (fast), e.g. /c1

/c2	Compression (good, but slow), e.g. /c2

/v	Try VSS first, e.g. /v, do not use with /l

/l	Try locking first, e.g. /l, do not use with /v

If you don't mind Linux, there's Clonezilla, images/restores Windows partitions or whole hard drives; there's a tutorial here. Partimage is similar, included in SystemRescueCD, more info: http://www.mepis.org...title=Partimage

As you said, Ghost is well suited for these scripted jobs, much info in exe /? but usually something like this works:
recover -clone,mode=prestore,src=c:\img\FI.GHO:1,dst=1:2 -batch -sure -quiet


#3 BiTByte

BiTByte

    Member

  • Members
  • 31 posts
  •  
    Austria

Posted 24 April 2011 - 08:43 AM

If you don't mind Linux, there's Clonezilla, images/restores Windows partitions or whole hard drives; there's a tutorial here. Partimage is similar, included in SystemRescueCD, more info: http://www.mepis.org...title=Partimage


don't forget fsarchiver

partimage and fsarchiver are included in plop linux.

Example commandline fsarchiver:
Backup: fsarchiver savefs windows.fsa /dev/sda1
Restore: fsarchiver restfs windows.fsa /dev/sda1

gui and commandline howto for partimage: here

regards

#4 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 24 April 2011 - 08:55 AM

For the record:
http://www.911cd.net...showtopic=16534
http://www.msfn.org/...aging-software/

:cheers:
Wonko

#5 amalux

amalux

    Platinum Member

  • Tutorial Writer
  • 2813 posts
  •  
    United States

Posted 24 April 2011 - 08:55 AM

don't forget fsarchiver

Thanks for that, I'll try it. I also forgot hdclone works well from command line:
-verify:[on|OFF] Perform an additional verification run.

-smart:[ON|off] Faster copies and smaller images, use logical filesystem info.

-freespace:[on|OFF] Copy unused areas.

-swapfiles:[on|OFF] Copy pagefile.sys and hiberfil.sys.

-timestamp:[ON|off] Automatically extend the names of image files by a time-stamp.

-compression:[on|OFF] Create a compressed file image.

-raw:[on|OFF] Create a RAW image.

-defrag:[on|OFF] NTFS only: Also perform a defragmentation when copying or store info.

-resizeinfo:[ON|off] NTFS only: Store information for downsizing when creating file images.
though I'm not sure about free version...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users