Re: Incremental backups report progress as if they were full backups - Mailing list pgsql-hackers

From Zsolt Parragi
Subject Re: Incremental backups report progress as if they were full backups
Date
Msg-id CAN4CZFPAHAtcnrx92fEwegmQkWPjZRqhELKPDfMoL=6dkOq+xw@mail.gmail.com
Whole thread
In response to Incremental backups report progress as if they were full backups  (Daria Lepikhova <daria.n.lepikhova@gmail.com>)
List pgsql-hackers
Hello!

-           The approximate size of the tablespace, in kilobytes (1024 bytes),
-           if progress report has been requested; otherwise it's null.
+           The approximate amount of data that will be sent for the
+           tablespace, in kilobytes (1024 bytes), if progress report has been
+           requested; otherwise it's null. For an incremental backup this can
+           be much smaller than the size of the tablespace, since files that
+           have changed only partially are sent as incremental files.

One nit to this: shouldn't it also mention unchanged files?

For example:

For an incremental backup this can be much smaller than the size of
the tablespace, since relation files that are unchanged or only partly
changed since the prior backup are sent as incremental files
containing just the modified blocks.



pgsql-hackers by date:

Previous
From: "Tristan Partin"
Date:
Subject: Re: Add counted_by attribute
Next
From: Masahiko Sawada
Date:
Subject: Re: Session in aborted transaction misses effective_wal_level change