What is the most important file/data folder in the discourse?

Yes, yes, I trust Discourse a lot, but I’m afraid of something happening on my machine, ask me a question friend, if something happens I should install Discourse normally on another machine and upload this daily backup to the panel and restore, but this restoration is it able to restore all plugins and settings together or just the data and uploads?