[nodebb-tools] CLI tools for NodeBB management
-
Hi!
I don't know if this is the right category but I thought I would share here and kindly ask the moderators to move it if necessary. I have created a couple of command line tools for NodeBB to implement the following functionality I missed out of the box:
- Batch edit category properties
- Dump database (any backend) to a JSON file
- Restore database (any backend) from a JSON file
Because dump/restore are backend-agnostic, they can be used for switching between the supported backend (redis, mongo, postgres). You have to perform a dump while your old backend is configured, then reconfigure NodeBB to your target backend and then restore the JSON dump.
If you think you might find it useful you can take a look at: https://github.com/sadaszewski/nodebb-tools
Regards,
--
Stanislaw -
@sadaszewski these look fantastic. Thanks for the link. I'm going to check these out.
-
@sadaszewski Cool! I do not code js though so no comment as to vetting of such but hey, seems op is into fbsd so must be smarter than the average bear, boo boo!! Now about those picnic baskets...
@phenomlab said in [nodebb-tools] CLI tools for NodeBB management:
I'm going to check these out.
Let us know, eh? Rock on!
P.S.; Obligatory link to Neal Stephenson's In the Beginning Was the Command Line essay. Yes, this is old and dated but still well worth the read for those who have not.
-