RA-7-D was a protocol droid in service of members of the Trade Federation. He was always treated like a tool, a minion, a cog in the great wheel of the Confederacy. During the war his needs for a memory wipe were frequently overlooked. He went on this way and developed several quirks. He learned about combat from battle droids. He learned about technology from the various commerce guilds. He escaped his enslavement when he brought down a Droid Control Ship in an attempt to escape. However, in the crash he was damaged and as a result deactivated.
Years later his chasis was found and thrown into a pile with several other droids. The scavenger repaired RA-7-D and sold him off to the Rebel Alliance. RA-7-D was on a Rebel supply run on the planet of Onderon when he was reactivated. The first thing he saw was a medical droid. He was taken aback by their beauty. The Rebellion treated their droids better than the Confederacy had. As a result he loved working for the Rebels, and loved the medical droid even more.
He would conduct saboteauge missions of high destruction to gain the attention of the medical droid he loved. Often after missions checking in to see if they had heard of his exploits. He continues to go on destructive mission after mission in an effort to win the medical droid's affection....