Hi Denis.
Everything you want is stored in a backup, and a Discourse site may be restored from a backup and will include all the settings (and uploads, if included).
A detailed guide is available at Create, download, and restore a backup of your Discourse database.