I'm wondering which commandline it should be:

I want to restore an image that is on /dev/hda2 (which is an ext3 file
system mounted as /mnt/img) to /dev/hda1

I can do this from within the img menu

But i can not find the correct commandline option for it.

img rl /mnt/img/image.zmg a2:p1

Does anyone have a clue?