Restore function almost completed. Restore won't restore last partition.