As a rule, unless backing up using the online methods supported by mongodb and ES (there are several ways of doing that, none as simple as copying the data dir), the safest way is always to stop the server before backing up.
Hi CostlyOstrich36 thanks for the response and makes sense.
What sort of problems could happen, would it just be the corruption of the data that is being written or could it be more breaking?
For context, I’m currently backing up the server (spinning it down) every night but now need to run tasks over night and don’t want to have any missed logs/artifacts when the server is shutdown.
Hi SuperiorPanda77 , I'm pretty sure you can backup while the server is running although if there is heavy writing into ES or Mongo at the time of backup it might cause problems. If you have no problem spinning down the server then I guess that would be the safest.