Help restoring a backup image created by img2simg

Hello all,

I’ve seen around the forums that an NVME drive can be imaged with img2simg for backing up purposes. I’m successfully able to do this backup of the drive, but now I’d like to restore this backup to the same NVME drive. Are there any utilities similar to img2simg that can restore this backup file to an NVME drive? Is there a guide that I can follow? This piece of information is crucial to the success of my graduate research. Thank you for your time.

Hi,

Please use our backup/restore tools instead.
Refer to the README file in Linux_for_Tegra/tools/backup_restore.

Will this work if the backup image was created with img2simg?

NO, please just use this tool for both backup/restore.
I don’t know how you backup with img2simg.

@WayneWWW, you mentioned that one can use this utility in previous forum posts. How can I restore and boot the backup made by img2simg?

I’ve attempted dd, ddrescue, and balena but it either doesn’t boot or attempts to boot with too many errors.

Please just use our official tools.
I don’t know why you insist on img2simg.

I insist on using img2simg because the backup is already created with img2simg, as this utility has been suggested by @WayneWWW

If I was able to create a new backup with your suggested utility, @DaveYYY, I would. But, I don’t have the drive to create a new backup.

Hence, the only solution is to restore. There is nothing to backup.

Then how did you backup the image?

I don’t know what you mean with this.

I created a backup of a drive a while ago using img2simg. Now, I do not have the physical drive anymore. My only option is to restore.

I can’t use the official utility that you suggested to create the backup image because I no longer have the drive to backup. Therefore, the image I want to restore was created by img2simg and needs to be restored to a new drive.

OK, so I believe you are expecting something like this:

After numerous attempts, I couldn’t restore the backup. I have since moved on from this. Thank you regardless.

I want to suggest that the NVIDIA clone tools produce both a raw and a sparse image. I’ve never been able to use the sparse image for anything other than flash, but that raw image is quite useful.

The tool that restore is called simg2img. It change the sparse image into raw image. This is an example:

sudo simg2img sparse.img /dev/nvme0n1

It write the sparse image into the NVMe SSD

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.