How to create a repository for ES snapshots

I am looking to backup my elastic search logs from Kibana. How do I go about this?