Difference between `bulk_import` and `import_scripts`?

I’m currently evaluating different options to import 120k topics into discourse. It seems like the preferred way is via scripts. I’ve found two folders of interest:

  • script/bulk_import
  • script/import_scripts

Is there any documentation for these that I missed? I can’t seem to find reliable information on them. I don’t have any experience with ruby, and to be honest this quite big list of different scripts feels a bit overwhelming.
Is there any script in particular that would be a good and simple starting point? I’m looking for something simple that shows how to import posts in a clean way.

The non-bulk scripts are a bit easier and better documented. For only 120k posts I recommend that.

2 Likes