Moscow recognized the two regions as independent countries in August , shortly after Russian forces swept into Georgia to counter a Georgian military effort to reclaim South Ossetia by force .