Since node-RED v1.2.0, the
config.json file has been split up into seperate files, so to capture those files for the backup, please change this line in the
"cmd += pre + '.config.json';",
"cmd += pre + '.config*.json';",
...which includes the wildcard character * to ensure that all of the conf files are included.