Skip to content

Commit cb050a5

Browse files
committed
Update documents on incremenal backup
1 parent bf036ce commit cb050a5

6 files changed

Lines changed: 5 additions & 12 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
## Features
88

99
* Full backup
10+
* Incremental backup (PostgreSQL 17+)
1011
* Restore
1112
* Compression (gzip, zstd, lz4, bzip2)
1213
* AES encryption support

doc/manual/advanced/06-retention.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ This is a very hard property to configure since it depends on the size of the da
3131

3232
If you want to restore from the latest backup plus the Write-Ahead Log (WAL) then the default [**pgmoneta**](pgmoneta) policy maybe is enough.
3333

34-
Note that currently if a backup has an incremental backup child that depends on it, it will be kept even if it doesn't
35-
36-
fall under retention policy. We will support incremental backup deletion in later releases.
34+
Note that if a backup has an incremental backup child that depends on it, its data will be rolled up to its child before getting deleted.
3735

3836
## Retention check
3937

doc/manual/advanced/07-keep.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ Response:
8181

8282
and you can see that the backup has a `Keep` flag of `true`.
8383

84-
Note that `Keep` currently only works on full backups, we will
85-
support keeping incremental backups in later releases.
86-
8784
## Describe a backup
8885

8986
Now, you may want to add a description to your backup, and as you can see

doc/tutorial/07_delete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pgmoneta-cli -c pgmoneta.conf delete primary oldest
1717

1818
will delete the oldest backup on `[primary]`.
1919

20-
Note that currently delete will fail if the backup has an incremental backup child that depends on it.
21-
We will support incremental backup deletion in later releases.
20+
Note that if the backup has an incremental backup child that depends on it,
21+
its data will be rolled up to its child before getting deleted.
2222

2323
(`pgmoneta` user)

doc/tutorial/09_retention.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ all the backups within the nearest 7 days, the latest backup on each Monday with
1717
the latest backup on the first day of each month in the last 12 months and the latest backup on the first
1818
day of each year in the last 5 years. If you input more than 4 values, [**pgmoneta**](https://github.com/pgmoneta/pgmoneta) will only read the first 4.
1919

20-
Note that currently if a backup has an incremental backup child that depends on it, it will be kept even if it doesn't
21-
fall under retention policy. We will support incremental backup deletion in later releases.
20+
Note that if a backup has an incremental backup child that depends on it, its data will be rolled up to its child before getting deleted.
2221

2322
There are a lot of ways to leave a parameter unspecified. For trailing parameters, you can simply omit them.
2423
And for parameters in between, you can use placeholders. Currently, placeholders we allow are: `-`, `X`, `x`, `0`

doc/tutorial/13_hot_standby.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ hot_standby_overrides = /your/local/hot/standby/overrides/
2727

2828
to override files in the `hot_standby` directory.
2929

30-
Note that currently hot standby doesn't work with incremental backups, this will be supported in later releases.
31-
3230
### Tablespaces
3331

3432
By default tablespaces will be mapped to a similar path than the original one, for example `/tmp/mytblspc` becomes `/tmp/mytblspchs`.

0 commit comments

Comments
 (0)