The accepted best practice is to automate the creation of VMs via infra as
code and configuration management. Then only backup the necessary data.

This has a large number of advantages.
* You don't backup standard system files / binaries, reducing the cost of
your backup storage space.
* You don't carry forward corruption in system files, requiring bisection
of backup snapshots in order to find the corruption. Instead you can simply
wipe the system and restore the data.
* Your system is more reproducible, as your restore tests fully exercise
the creation of the VM from scratch.
* Upgrades are easier, you can use your automated provisioning to create a
new instance with whatever new software loadout you want. Then restore
backups and test.

This has been a standard recommendation for at least 10-15 years.

On Sat, Feb 1, 2025 at 2:24 PM Doug Meredith <[email protected]>
wrote:

> Thanks for the reply, Ben. I looked at the link you sent, but if I
> understand it correctly, this command creates a TSDB snapshot, probably for
> extraction or copy purposes. Some sort of quiesce command is what would
> normally be used for the VM backup. I could always shut down Prometheus,
> but I'd rather not, if I don't have to.
>
> Incidentally, how are full VM backups inconsistent with best practices?
>
> --
> 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/8da91ad6-776d-48c9-ab7f-193893dff909n%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/8da91ad6-776d-48c9-ab7f-193893dff909n%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/CABbyFmop7rXxvbUo12N%3DZLZhdDhENktz08PqeqfB38gM5O8s6Q%40mail.gmail.com.

Reply via email to