Or use a local install of node-red instead of (or as well as) a global install and then you can easily have two separate instances running on different versions.
But of course, you always need a backup as well which is why I wrote my daily/weekly/monthly backup scripts which I've shared previously.