- PostgreSQL Replication(Second Edition)
- Hans Jürgen Sch?nig
- 216字
- 2021-07-16 13:33:50
Chapter 3. Understanding Point-in-time Recovery
So far, you have endured a fair amount of theory. However, since life does not only consist of theory (as important as it may be), it is definitely time to dig into practical stuff.
The goal of this chapter is to make you understand how you can recover your database to a given point in time. When your system crashes, or when somebody just happens to drop a table accidentally, it is highly important not to replay the entire transaction log but just a fraction of it. Point-in-time Recovery will be the tool to do this kind of partial replay of the transaction log.
In this chapter, you will learn all you need to know about Point-in-time Recovery (PITR), and you will be guided through practical examples. Therefore, we will apply all the concepts you have learned in Chapter 2, Understanding the PostgreSQL Transaction Log, to create some sort of incremental backup or set up a simple, rudimentary standby system.
Here is an overview of the topics we will deal with in this chapter:
- Understanding the concepts behind PITR
- Configuring PostgreSQL for PITR
- Running
pg_basebackup
- Recovering PostgreSQL to a certain point in time
At the end of this chapter, you should be able to set up Point-in-time Recovery easily.
- Oracle 11g從入門到精通(第2版) (軟件開發視頻大講堂)
- Essential Angular
- Blender 3D Incredible Machines
- Effective Python Penetration Testing
- 名師講壇:Java微服務架構實戰(SpringBoot+SpringCloud+Docker+RabbitMQ)
- SQL經典實例(第2版)
- Java網絡編程核心技術詳解(視頻微課版)
- Android應用案例開發大全(第二版)
- 一本書講透Java線程:原理與實踐
- Responsive Web Design with jQuery
- HTML并不簡單:Web前端開發精進秘籍
- Python趣味創意編程
- 一步一步學Spring Boot:微服務項目實戰(第2版)
- 計算機應用基礎
- Illustrator CS6中文版應用教程(第二版)