I know that a planet with maximum health and a planetary shield will hold out against a shot or two. Any other planetary recovery options are also good ideas. Keep colony frigates in orbit to get your assets back ASAP.
As far as digging the enemy out, I'm assuming you're playing with Entrenchment at least? If that's the case, you're biggest issue will be well placed starbases and fighters. That means Gardas to cover your arse, Hoshikos to repair your guys in field, and probably LRM/bombers to deliver hell.
I suggest having Ogrovs as a separate force. Bring in your main battle fleet to draw attention and engage (keep bombers docked until their fighters have madea pass and the flak thins them out). If the starbase is close to where you jump in, then give your guys a moment to take up the enemy's attention and bring in Ogrovs to focus on the starbase. If the starbase is at a distance, then wait until the enemy fleet is on the run or dead and then bring in Ogrovs. Your fleet should be on Hold Position so that you can A) let your bombers reach out and do the work for you,
avoid letting your guys drift within range of the starbase, and C) micro manage your fleet as you see fit without them shuffling off at odd times.
I'm sure there are better ways to handle this, but you've already let them build the weapons, so you're already waist deep.