简体   繁体   English

在 K8S 中备份 Postgresql [暂停]

[英]Backup Postgresql in K8S [on hold]

guys.伙计们。 Is there any way to make incremental backup (WAL) postgres database in k8s?有没有办法在 k8s 中制作增量备份(WAL)postgres 数据库?

Preferably without stopping the postgres service最好不要停止 postgres 服务

thnks谢谢

In addition to what Efrat mentioned.除了 Efrat 提到的。 I would suggest you can use one of these images to run as cron job and backup snapshots to S3 or Other locations.我建议您可以使用其中一个映像作为cron 作业运行并将快照备份到 S3 或其他位置。

https://github.com/schickling/dockerfiles/tree/master/postgres-backup-s3

This will work without having to stop the Postgres service.这将在无需停止 Postgres 服务的情况下工作。 Also here are some other which I haven't really tested.这里还有一些我没有真正测试过的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 本地卷K8上的性能Postgresql - Performance Postgresql on Local Volume K8s 使用 postgresql 在 K8s 中使用超集的配置问题 - Configuration issues with superset in K8s with postgresql 升级bitnami postgresql镜像k8s - Upgrade bitnami postgresql image k8s K8s postgres 备份在 S3 复制期间失败 - K8s postgres backup failed during S3 copy Postgresql k8s上的数据无法持久化 - Postgresql data on k8s cannot be made persistent 如果我在 k8s 中声明 2 个 PostgreSQL StatefulSet pod 副本,它们是同一个数据库还是只是共享卷? - If I declare 2 replicas of PostgreSQL StatefulSet pods in k8s, are they the same database or they just share the volume? 在具有主从模式的 k8s 中运行 postgresql 的最佳方法是什么? - What is the best way to run postgresql in k8s with master-slave mode? K8s 上的 Postgres:mkdir:无法创建目录“/bitnami/postgresql/data”:初始化 PostgreSQL 数据库时权限被拒绝 - Postgres on K8s: mkdir: cannot create directory ‘/bitnami/postgresql/data’: Permission denied while Initializing PostgreSQL database K8s postgres 不持久化数据 - K8s postgres not persisting data 使用 glusterfs 作为存储的 k8s 上的 postgres - postgres on k8s with glusterfs as storage
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM