官术网_书友最值得收藏!

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.

主站蜘蛛池模板: 光泽县| 娄烦县| 攀枝花市| 尉氏县| 水富县| 体育| 海丰县| 聂拉木县| 阜康市| 遵义县| 雷山县| 江孜县| 观塘区| 嘉黎县| 宜城市| 五河县| 新野县| 安图县| 温泉县| 新干县| 淮南市| 靖安县| 思南县| 饶河县| 饶平县| 农安县| 荣昌县| 珲春市| 楚雄市| 独山县| 澳门| 新竹县| 广东省| 泗洪县| 宁陕县| 盐源县| 象山县| 呼玛县| 盘山县| 灵宝市| 龙门县|