通过PGBACKREST还原备份到另一台服务器上的Postgres实例
我正在尝试从一个虚拟机上的一个Postgres实例备份/还原到另一个VM上的另一个Postgres。如何在pg_hba.conf中提供路径?
[global]
repo1-path=/var/lib/pgsql/12/backups/
log-level-console=info
log-level-file=debug
start-fast=y
repo1-retention-full-type=time
repo1-retention-full=15
[my_stanza]
pg1-path=/var/lib/pgsql/12/data/
如果将备份存储在S3,GCS或Azure上,是否还可以在另一个Postgres实例上还原?如果是,怎么样?
I'm trying to backup/restore from one postgres instance on one virtual machine to another postgres on another vm. How to give paths in pg_hba.conf?
[global]
repo1-path=/var/lib/pgsql/12/backups/
log-level-console=info
log-level-file=debug
start-fast=y
repo1-retention-full-type=time
repo1-retention-full=15
[my_stanza]
pg1-path=/var/lib/pgsql/12/data/
Also is it possible to restore on another postgres instance if backups are stored on S3, GCS or Azure? If yes, How?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论