Hi Bernat,

Interesting, I never heard of #backupTo:

But if recover.image is a copy of MyImage.image, and that last one failed to 
start up, why then would the copy not have the same problem ?

Sven

On 24 Oct 2013, at 13:32, Bernat Romagosa <tibabenfortlapala...@gmail.com> 
wrote:

> Hi list,
> 
> I've just recovered a broken image that crashed upon startup. There was some 
> problem with a SerialPort that stayed open and tried to write/read into a 
> physical port that didn't exist no more, or something of the sort.
> 
> So here's the magic line:
> 
> $ bin/myVm shared/MyImage.image eval "SmalltalkImage backupTo: 'recover'"
> 
> This makes a copy of the image into a new image called "recover.image", but 
> as the documentation states:
> 
> Unlike #saveAs: do not transfer the default execution to the new image. 
> 
> So there you go!
> 
> Hope it helps someone else. :)
> 
> -- 
> Bernat Romagosa.


Reply via email to