Russia's goal in Georgia was
-replace Saakashvilli (which they demanded in the begining, but it was not well received by the World community)
-destabilize Georgia/the region (that's why they bombed Port Potti), make it unattractive for the world to deal with and idfficult for Georgia to join the EU..
-Reignite the local conflicts bet. Georgia/Abhazia/Ossetia - to make it difficult for Georgia to join NATO..