最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

pitr - Why timeline did not changed after recovery simple postgresql 15.5(linux ubuntu)? - Stack Overflow

programmeradmin2浏览0评论

I set foollowing settings:

 wal_level = logical
archive_mode = on       # enables archiving; off, on, or always
archive_command = 'test ! -f /home/15arc/%f && cp %p /home/15arc/%f'        # command to use to archive a logfile segment

Performed backup:

./pg_basebackup -D /home/backup  -Ft -p 5415 -P -U postgres

After I deleted all data from where postgres cluster was installed (/home/postgres15)

Then I unzip 2 backup files into /home/postgres15 And start db:

 ./pg_ctl -D /home/postgres15  start

And the history timeline file was not created.. Do you know why?

发布评论

评论列表(0)

  1. 暂无评论