NR backup and restore flows and nodes


I have to clean install Pi Buster and NR on a pi ,following the docs, the installation went smoothly and all is working good.
I have done a bacup of all files in .nodered folders. I take it to restore the flows I just have to copy & overwrite the two files in the new install:

  1. flows_raspberrypi.json
  2. flows_raspberrypi.json

As I have installed a few extra nodes (using pallette) in my old setup, do I have to clean install all the extra nodes or is there a particular file I can i just copy & overwrite and magically all the extra nodes will be there?