That doesn't really follow best practice for backups, but in order to get a
consistent dataset you should call the snapshot API.

https://prometheus.io/docs/prometheus/latest/querying/api/#tsdb-admin-apis

On Sat, Feb 1, 2025 at 3:46 AM Doug Meredith <[email protected]>
wrote:

> I'm running Prometheus on a VM and system backups are accomplished by
> doing live backups of the VM. This causes a snapshot of the VM to be done,
> and that is then backed up.
>
> Do I need to shut Prometheus down while the snapshot is done, in order to
> ensure consistent backups?
>
> --
> 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 visit
> https://groups.google.com/d/msgid/prometheus-users/676143b5-33c2-456c-8f85-35e94ce6a64cn%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/676143b5-33c2-456c-8f85-35e94ce6a64cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 visit 
https://groups.google.com/d/msgid/prometheus-users/CABbyFmqHMLZK%3DtbQfW2D2UAH1CZNNeTnmvdj071t6P3sfOkfCQ%40mail.gmail.com.

Reply via email to