On 12.11.20 19:47, 东 wrote:
> when prometheus reboot, it take a lot of time to read the wal,sometimes it
> must start as soon as possible. so i backup the wal and start prometheus with
> no wal.  I want to restore these data and upload them to S3 by thanos, so that
> It wouldn't be lost. is there a way?

I guess you could just copy the `wal` and the `chunks_head` directory
into a new empty directory and then start a separate Prometheus server
without any configured scrape targets, pointing at that new directory
as its data directory.

-- 
Björn Rabenstein
[PGP-ID] 0x851C3DA17D748D03
[email] [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/20201127174817.GI3432%40jahnn.

Reply via email to