- 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.
- Implementing VMware Horizon 7(Second Edition)
- Design Principles for Process:driven Architectures Using Oracle BPM and SOA Suite 12c
- 自然語(yǔ)言處理實(shí)戰(zhàn):預(yù)訓(xùn)練模型應(yīng)用及其產(chǎn)品化
- Testing with JUnit
- 小創(chuàng)客玩轉(zhuǎn)圖形化編程
- Python自動(dòng)化運(yùn)維快速入門
- Rake Task Management Essentials
- Java:Data Science Made Easy
- Java深入解析:透析Java本質(zhì)的36個(gè)話題
- FFmpeg入門詳解:音視頻原理及應(yīng)用
- Rust Essentials(Second Edition)
- 零基礎(chǔ)學(xué)Python網(wǎng)絡(luò)爬蟲案例實(shí)戰(zhàn)全流程詳解(高級(jí)進(jìn)階篇)
- ExtJS高級(jí)程序設(shè)計(jì)
- LabVIEW虛擬儀器程序設(shè)計(jì)從入門到精通(第二版)
- 深度學(xué)習(xí)原理與PyTorch實(shí)戰(zhàn)(第2版)