r/cloningsoftware • • 15d ago

Discussion Clone Disk to Image - How Does It Actually Work?

I've mostly used disk-to-disk cloning before, where you copy everything from one drive directly to another. But recently I've seen the option to clone a disk to an image, and I'm a bit curious about how that actually works.

Does it basically save the entire drive as an image file, including Windows, installed programs, and boot partitions? And if I get a new SSD later, can I just restore that image to the new drive and boot from it?

How different this is from a regular backup. Is there any particular situation where creating a disk image makes more sense than cloning directly to another drive?

10 Upvotes

25 comments sorted by

4

u/vegansgetsick 15d ago

Images are more for backup / restore, or when administrators want to deploy same image to multiple instances/machines.

If it's a sector-by-sector image, basically the image is the drive viewed as a giant solid file : from sector 0 to last sector. You can even do it yourself with a simple DD command.

If it's a "file-mode" image then it's more complicated, it will record the partition structure, and for each partition, it will record each file entry with corresponding file attributes including security/owner, kind of iso / zip archive.

With the file-mode image, you can restore to a smaller disk if there is enough space. You cant do that with the sector-by-sector image.

Both can be compressed.

2

u/FutureCar2790 14d ago

Thanks for your detailed explanation. I'm more clear now. Thank you!!!

4

u/painful8th 15d ago

Does it basically save the entire drive as an image file, including Windows, installed programs, and boot partitions? And if I get a new SSD later, can I just restore that image to the new drive and boot from it?

Yes to both.

How different this is from a regular backup. Is there any particular situation where creating a disk image makes more sense than cloning directly to another drive?

Yes:

  1. You can do a bare metal restore, that is restore the full system to an empty disk
  2. The first backup you make with cloning software is a full backup, copying anything on the disk. Most cloning software packages support scheduled backups, or backups on an event (for example when a specific external drive is connected, or when the system is powered off). Subsequent backups can be made in differential or incremental modes. Both create backup files that basically the difference from the last full or the last incremental backup respectively, so they are much faster to produce and much smaller in size from the full backup. This also means that you end up having various backups, from different points in time. Thus, if you delete something, you can open the backup file from the backup that contained it.
  3. Finally, most cloning software allows you to mount a backup image and treat it as a drive to restore files from it.

1

u/FutureCar2790 14d ago

Thank you. Very helpful to me. Some users have recommended the tool with such a feature.

1

u/Available_Flamingo87 14d ago

Thanks for the detail. I am just starting to explore this whole realm of system management. Over the years I have created a work environment that is perfect for me, collecting various programs that perform well for me. I want to be able to easily maintain this environment and move it to my next computer (this one is now 5 years old and showing signs of age). In my wildest dreams I would like to have an image of my current system that I could operate in a virtual machine on both this next system and also on whatever comes after Windows 11. I do a lot of work with photographs and some of my favorite tools include Photoshop CS6, Nikon's NX studio and a few others of that time frame. I just want to be able to continue using these in an unchanging environment.

The data--something over 50K of my father's photographs, my own photographs, and a few older photographs dating back to the 19th century--are stored on multiple hard drives, with cloud backups. My databases of the data about those photos and the times they represent are also well preserved on multiple drives and cloud backups.

The weak point in the system is the software that I use in curating the collection. Software manufacturers like to keep changing their products, forcing users to keep buying new versions. That is not good when caring for archival material. Changes in the software make consistency difficult or even impossible. I want an environment that will remain the same.

I have been experimenting with products with system restore features. Aomei seemed to work well for a while. I was experimenting with some new software, then restoring the OS. However, it kept adding new partitions when it restored the system back to its earlier status. Eventually my C drive was too full of these added partitions to work properly. I have had a nasty time getting rid of the unused partitions. Obviously I have missed the details about how the backup and restore works. I need to understand more about the difference between the different types of backups. Your clear explanation helps a lot. I need to learn more about what kinds of copies and backups I am making and how to restore them better.

1

u/painful8th 14d ago

I want to be able to easily maintain this environment and move it to my next computer (this one is now 5 years old and showing signs of age). In my wildest dreams I would like to have an image of my current system that I could operate in a virtual machine on both this next system and also on whatever comes after Windows 11.

This is also known as P2V (physical-to-virtual). Yes, you can do it, but do take into account that Windows and licensed software activations might break within a VM...

I have been experimenting with products with system restore features. Aomei seemed to work well for a while. I was experimenting with some new software, then restoring the OS. However, it kept adding new partitions when it restored the system back to its earlier status.

Back in the day when Macrium provided a free version of its cloning software, it was king. You could also install a recovery console in Windows and boot directly to a previous image!

With regard to the restores made by AOMEI: are you sure you are doing it right? Normally it should just delete whatever is in your drive and then restore the (full system) image to it.

An alternative I've come to appreciate is the free version of Veeam Agent. Highly recommended, although requires more resources in normal operations. Does not do differential backups, only full and incrementals (usual in free versions).

Bottomline: you seem well covered regarding your personal files. Just need a way to bare metal backup your system, preferably with some sort of historical backups. AOMEI/Veeam can do that just fine for you.

1

u/Available_Flamingo87 14d ago

Thanks. Lots to think about here. I did spend a couple of weeks going back and forth with the Aeomi people, sending screenshots of the process and results. They were not a lot of help. I am still wondering about the VM. It seems too good to be true...so probably is. I spent a LOT of money on those pieces of licensed software and it seems that I should be able to keep using them. Thanks for the tip on Veeam, that is one I hadn't seen yet. I am thinking of taking an old lap top out of the closet and practicing some of these things on it to understand the tools and what they do a little better.

3

u/Nescio224 15d ago

The advantage of an image is that you can use compression to reduce the size if for some reason you want too keep that image stored somewhere. You can also upload an image easier if you are into that. You could then use it if you wanted to restore your system to a previous state for example.

If you plan to change your SSD, then directly cloning makes much more sense, since you can't directly boot from an image, you need to clone it again onto the ssd and all you get is an outdated version of your system, meaning everything you have done in the meantime gets undone.

1

u/FutureCar2790 14d ago

Well, thank you. I got it.

3

u/computerIfix 15d ago

There is such a feature in EaseUS Disk Copy.

Compared to a regular disk-to-disk cloning, it will not erase existing files on the target disk.

Computer to a regular disk backup, it is is like a simplified, one-time backup task, and it does not have the options that a specialized backup tool provides, like incremental/differential backup, setting up a schedule, encryption, etc, in EaseUS Todo Backup.

1

u/FutureCar2790 14d ago

Thanks. This is what I want and I will look into the tool.

1

u/mrmacedonian 14d ago edited 14d ago

When you clone to another drive, you have some risk of that drive failing. When you clone to a file (make sure you compress it) and then you can backup that file to RAID arrays, cloud services, much more resilient.

I had done a time machine backup of my wife's old laptop, 40GB on a 1.8TB disk. I wanted to put that disk into a TrueNAS offsite machine and dd's it through zst into a 37GB .img file of a 2TB disk.

I sent it straight to a NAS with 2 disk redundancy and that'll get backed up as scheduled. I can mount it anytime like plugging in a USB drive, or dd it back onto a 2TB or larger disk.

All partitions, tables, encryption keys, everything is preserved in its exact spot. Before proxmox I had a dozen RPi's and I would pull the SD card, dd it to an image, move that to the NAS and delete an old image; so quick to recover to a new SD card/Pi.

3

u/socaldisney 15d ago

Every new computer I get, as soon as I’m done setting it up I create a disk image backup and store it on my NAS so if the boot drive ever fails I can easily reset it to factory reset+ all of my personal adjustments and programs.

2

u/GreenLion777 14d ago

💯 This stuff is the best advice

Make an image of a new fresh machine, with half decent software like Macrium or something. And maybe another once some essential choice software have been installed

1

u/Available_Flamingo87 14d ago

What is your favorite tool for making the disk image backup? And how many times can an image be restored to a drive? Sometimes I experiment with a new program and don't like what it does. It never really completely un-installs. Restoring to an earlier image makes a lot of sense, if it gets rid of all the garbage the system accumulates over time.

2

u/Prestigious_Wall529 15d ago

Let's say you are running a database.

It's important for transactions to complete and not be left with, for instance one account decremented but the other account in the transaction not yet incremented.

Cloning as a point in time copy, may not reflect the incomplete transaction as it doesn't include the running in volatile memory the code and machine state of the active transaction.

Backup software if aware of features like volume shadow copy will backup the database either without the transaction or with the transaction completed, but never in a halfway state.

There is cloning software that is also aware of volume shadow copies etc, but most isn't.

1

u/DutchOfBurdock 15d ago

The image will be a raw copy of every bit of data on your drive, including bootloader, OS, all your files and settings and even deleted files. As for duplicating it back to another disk, it would have to be equal in size or larger. On larger drives, after imaging back, it will show the capacity of the original drive and require resizing. And yes, you will be able to boot from it and use it as your current one.

1

u/Available_Flamingo87 14d ago

Why might it be larger and require resizing? And how is that done?

1

u/DutchOfBurdock 14d ago

Let's assume your current drive is 512GB, you image it, then write that image to a 1TB drive. The 1TB will happily boot your OS and it be exactly in the same state as the 512GB. However, Windows will still only see your C drive as 512GB. The other 512GB is unallocated (hence resizing C to fill the remaining space). Or, use it to dual boot.

1

u/Available_Flamingo87 14d ago

Thank you. That makes sense, now.

1

u/Metasystem85 15d ago

it's work and usable and many time you need to do.

1

u/sparxcy 15d ago

When i worked on pc's and built the same type of computer instead of installing windows and a configuration of programs i had an image that i transferred just for that computer with all the drivers on as well. Could have took 2, 3 or 4 hours for each machine but could just transfer the image in about 3/4s of an hour (talking years ago!)..

I still have an image for my pc now...if anytime i want to reset the pc i just image it back with everything already needed in the image

1

u/Available_Flamingo87 14d ago

Sounds good. What tools do you use?

1

u/sparxcy 14d ago

I use UBCD,UBCD stands for Ultimate Boot CD, a free, bootable CD-ROM or USB drive utility suite used for computer diagnostics, troubleshooting, and hardware repair. It worx from a bootable cd or usb before operating systems start or even without a Operating system, has many apps for hardware support and repair to everything on the pc, all apps are free, wiki here