When I went to use Calc today, I found that all my macros had disappeared, along with at least one key bind. My shortcuts to my macros, that I had added to the tools menu, remained. I found that this file: C:\Users\Toby\AppData\Roaming\LibreOffice\4\user\basic\Standard\Module1.xba had been reset to just have an empty Sub Main. I don't know what happened, or when - if is was a clean up after a crash, or as part of an upgrade, it happened silently. I suggest: a) LO reports to the user if it resets any part of their profile b) LO keeps a backup of user profiles, perhaps on a schedule, and certainly on upgrade, so that if a profile needs to be wiped, a backup can be used instead. I am on v7.2.4.1
Not automatically, but it's possible to do a profile backup. Menu/Help/Restart in Safe Mode In safe mode, selecting Advanced, and there is the option. And the option to recover the profile.