I did something like this the other day but in reverse sort of.
Needed a clean ticket.db installed so i extracted it from my first firmware 9.0 nand backup and injected it into my current 9.0 fresh nand backup then restored that backup to my sysnand no problem.
I did this the long hard manual way on pc though, not with rxTools or anything. Was on my n3ds not old.