1

I'm building a prometheus stack that uses the remote_read/remote_write feature for long term storage, and I have some questions about if/how prometheus' tsdb needs to be backed up, given that it is using long term storage.

1) Do I need to back up the prometheus TSDB if data is being pushed into remote storage?

2) If a failure occurs and the prometheus instance needs to be rebuilt, would prometheus' tsdb need to be restored? Or will it attempt to query the long term storage for instance if it does not have metrics in the local tsdb for its retention period?

user307927
  • 133
  • 1
  • 4

1 Answers1

2

1) Do I need to back up the prometheus TSDB if data is being pushed into remote storage?

You don't have to.

Or will it attempt to query the long term storage for instance if it does not have metrics in the local tsdb for its retention period?

This is how it works.

brian-brazil
  • 3,904
  • 1
  • 20
  • 15