When updating, RAT will ask you if you want to backup your database, select a location for that backup.
Or, manually back up the database in %appdata%\nomadsoft\7d2d_rat.db
Also, when RAT updates, it will update your current database to the new version, it won't overwrite your settings. But its always good to make a backup before updating, regardless.