We wouldn't print out a large message in the log advising you to do it if we didn't think it was important.
If you don't set your own credentialSecret in your settings file, then you are using a randomly generated key. If anything happens to lose that generated key, you won't be able to decrypt your credentials file ever again and you'll have to re-enter any credential properties through-out your flow.
By setting your own key, you know what it is and will be able to restore things should something go awry.
In terms of restoring a system with those files, the basic process would be:
- copy those files back in
~/.node-redon the new device - run
npm installin the~/.node-reddirectory in order to reinstall all of the extra nodes you had (they are all listed in thepackage.jsonfile, which is why you backed that up) - run Node-RED.
You may find you need to hardcode the flow file name in your settings file to ensure it picks up the right file.