RT backup and restore WebUI settings during an upgrade

I’m noticing there’s no easy way to backup and restore any Request Tracker
system settings such as accounts created, ticket custom fields, theme
settings, etc…

This might be more of a feature request, but can we have a way to backup
the specific files in an archived file for easy backup and restore?

The information here doesn’t really cover specific files and folders within
/opt/rt to backup, so I’m not really sure where to go to backup and restore
these settings during a version upgrade.