How to create backup of graylog data

I have a task to backup only streams, event defenitions, notifications, and extractors to our repository. Which way I can do it? Should I do dump database , elastic snapshot etc?