We are running Loki on Kubernetes on AWS EKS with EBS persistent volume.
We would like to backup Index and Chunks and all required files to S3 for backup.
How can we do this, which files should we copy to S3 bucket?
How can we set the logs to persist fo 90 days in the storage?
Our storage config:
schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
server:
http_listen_port: 3100
storage_config:
boltdb_shipper:
active_index_directory: /data/loki/boltdb-shipper-active
cache_location: /data/loki/boltdb-shipper-cache
cache_ttl: 24h # Can be increased for faster performance over longer query periods, uses more disk space
shared_store: filesystem
filesystem:
directory: /data/loki/chunks
chunk_store_config:
max_look_back_period: 0s
table_manager:
retention_deletes_enabled: false
retention_period: 0s
compactor:
working_directory: /data/loki/boltdb-shipper-compactor
shared_store: filesystem
I had installed Loki using Helm.
Any help on this would be appreciated.
Thanks and regards,
Anoop