使用PostgreSQL数据库保护VM [英] Protect VM with PostgreSQL database
问题描述
你好
我需要使用PostgreSQL数据库复制虚拟机.我担心数据库不能保持一致,并且故障转移后数据库已损坏.对于非Microsoft应用程序和Azure的Hyper-V副本是否有任何建议?
I need to replicate a VM with a PostgreSQL database. I am concerned about the database not being consistant and a corrupted database after failover. Are the any recommendations for non-Microsoft applications and Hyper-V replicas to Azure?
提前谢谢!
最好的问候,
Robin
推荐答案
我过去在数据库方面使用流复制:
I have used Streaming Replication in the past for the DB side of things:
https://wiki.postgresql.org/wiki/Streaming_Replication
要复制整个VM,可以使用Site Recovery:
For replicating an entire VM you could use Site Recovery:
https://docs.microsoft.com/zh-CN -us/azure/site-recovery/migrate-tutorial-on-premises-azure
如果您要从循环中删除VM,它们还提供Postgres即服务(PaaS)选项.
They also have Postgres as a Service (PaaS) options available if you want to remove the VM from the loop.
如果您遇到困难,此联系方式也应该能够为您提供帮助:
This contact should also be able to help should you get stuck:
AskAzureDBforPostgreSQL@service.microsoft.com
AskAzureDBforPostgreSQL@service.microsoft.com
这篇关于使用PostgreSQL数据库保护VM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!