PostgreSQL 备份与恢复:pg_dump、pg_restore 与 PITR逻辑备份与恢复pg_dump -U postgres -d app -F c -f app.dump pg_restore -U postgres -d app_restored -c app.dump 时间点恢复(简述)执行 base backup:`pg_basebackup -D /backup/base -X stream -U repl`配置 `restore.conf` 或 `recovery.signal` 指定 WAL 归档与目标时间启动实例进行 PITR 到目标时间点总结逻辑备份适合迁移与子集恢复,PITR 保障关键数据在故障后的时间点回滚能力。

点赞(0) 打赏

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部