If your cartridge is original, there shouldn't be any problems restoring your save.
If your cartridge is a copy, use this tutorial.
https://projectpokemon.org/home/tutorials/save-editing/managing-gba-saves/extracting-and-injecting-save-for-bootleg-gba-pokémon-carts-r126/