 Yes, as you say, the fact that India has chosen to continue buying Russian oil despite those Western sanctions, that was a huge help for Moscow at the start of the invasion. Also, the two countries have had very close defense ties even before the Cold War.