Which of the directories contains data that needs to be backed up, and which can be discarded because it can be easily recreated? And once identified, how to I backup and restore correctly?

@jernst wrote:

Which of the directories contains data that needs to be backed up, and which can be discarded because it can be easily recreated? And once identified, how to I backup and restore correctly?

and would like to invite responses here