View Full Version : Restore Failure with error (22)

04-05-2006, 07:11 AM
Dear All,

I tried to restore a sparse image backup using Disk Utility as described in "Recovering from a disaster". I have got the following error:

"""Restore Failure

An error (22) occurred while copying. (Invalid argument)
Does anybody got the same?
Any solution?
Thanks for any feedback



04-05-2006, 09:38 AM
Hi, Mauro. Have you mounted the image with File > Open Disk Image... and dragged the resulting volume (not the image file) into the source?

04-05-2006, 10:54 AM
Hi Dave,

thanks for the hint. As I was not sure I did again the whole process. So, I open the image with the "Open Disk Image" command of the File menu.
Then I drag the drive icon that appear a the bottom of the drives list on the left hand-side and finally the destination disk that needs to be erased and restored.

The process start and when almost finished (95%), DiskUtility throws the error.
Any other idea?
Thanks a lot


04-05-2006, 11:00 AM
Hm. Error 22 is "invalid argument". I'm not sure what might be wrong here, Mauro. I'd check to see if you can archive-and-install on top of the restored backup to put an OS down, and then boot from it and see if your files are there and OK.

Scott Shuster
08-22-2006, 08:19 AM
Instead of using the Migration Tool, I dragged stuff onto my new MacBook in the time-tested style of OS-7.4 -- resulting in slowness. I did not know about the Migration Tool - "Duh!" - and also "Dohhh!!!" - !!!

Tho slow, the computer has been working just fine, but obviously I'd like to fix its problems.

The good folks down at Tekserve here in NYC recommended that as full-fledged optimization does not yet exist for the Intel Macs (no "DiskWarrior") I use SuperDuper to create a disk image on an external drive, and restore from that: They said I'd get some improved disk organization and 'speed' out of doing that.

So I created the 'sparse' disk image overnight, and this morning sought to start-up from the image, but I'm getting 'invalid argument' from the get-go. The image works fine as a folder-full-of-files, but is not recognized as a potential start-up drive.

In Disk Utility I'm told that the image has no checksum data -- So I am checksumming it now -- which looks like it's going to take hours, so in the meantime I thought I'd saunter over here and try to find out what's going on...

With thanks in advance for any guidance,

08-22-2006, 09:03 AM
OK -- you can't start from a disk image, only from a real direct-to-the-drive copy, so what you should do is re-do the copy directly to the drive. Once that's done, you can start up from it and do the rest.

Alternatively, you can restore, but there are bugs in the DVD version of Disk Utility on Intel Macs. You probably won't be able to restore unless you use the command-line (see this blog post (http://www.shirt-pocket.com/blog/index.php/comments/intel_mac_dvd_disk_utility_problems/) for a discussion).

I think it'd be easier to re-do the full copy...

Scott Shuster
08-22-2006, 09:41 AM
Oh - NOW I get it! (**BLUSH!**)

08-22-2006, 10:08 AM
Glad it's clearer! :)