Bilderoptimierung bei Wiederherstellung auf neue Serverinstanz pausieren

I am trying to migrate my discource instance to new server, Since I am limited whit space on server I want first to

How i can pause image optimization after initial upload db and restore it.

So I can check did restore pass well and delete backup file and delete.

My backup file is about 200GB whit unchecked settings Include generated thumbnails in backups. Disabling this will make backups smaller, but requires a rebake of all posts after a restore.

So I am going to run out of disk space if my instance holds backup file and start optimizing images.