I've managed to do this for Mario Kart 7 but I read there are different (newer?) types of save files that may or may not work.
To get it to work all I did was rename the backup .3ds file to .3dz, then find out what number Gateway uses for the save file and then just rename the backup save file to that number.