From: | Thom Brown <thom(at)linux(dot)com> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Alexander Lakhin <exclusion(at)gmail(dot)com>, Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, Peter Eisentraut <peter(at)eisentraut(dot)org>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: trying again to get incremental backup |
Date: | 2024-04-25 22:43:52 |
Message-ID: | CAA-aLv7rbnjUqsQYasA1SfHApja8jXU1af_EDFS_RF_mQeXhRQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, 3 Jan 2024 at 15:10, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Fri, Dec 22, 2023 at 12:00 AM Alexander Lakhin <exclusion(at)gmail(dot)com>
> wrote:
> > My quick experiment shows that that TimestampDifferenceMilliseconds call
> > always returns zero, due to it's arguments swapped.
>
> Thanks. Tom already changed the unsigned -> int stuff in a separate
> commit, so I just pushed the fixes to PrepareForIncrementalBackup,
> both the one I had before, and swapping the arguments to
> TimestampDifferenceMilliseconds
>
I would like to query the following:
--tablespace-mapping=olddir=newdir
Relocates the tablespace in directory olddir to newdir during the
backup. olddir is the absolute path of the tablespace as it exists in the
first backup specified on the command line, and newdir is the absolute path
to use for the tablespace in the reconstructed backup.
The first backup specified on the command line will be the regular, full,
non-incremental backup. But if a tablespace was introduced subsequently,
it would only appear in an incremental backup. Wouldn't this then mean
that a mapping would need to be provided based on the path to the
tablespace of that incremental backup's copy?
Regards
Thom
From | Date | Subject | |
---|---|---|---|
Next Message | Melanie Plageman | 2024-04-25 23:03:57 | Re: BitmapHeapScan streaming read user and prelim refactoring |
Previous Message | Tom Lane | 2024-04-25 21:51:35 | Re: Why don't we support external input/output functions for the composite types |