Add system identifier to backup manifest
От
Amul Sul
Тема
Add system identifier to backup manifest
Дата
Msg-id
CAAJ_b948iB9mGYWYA0BobggC+_HkcQSe94p8t5Ut94NJxqKN6Q@mail.gmail.com
Список
Дерево обсуждения
Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Re: Add system identifier to backup manifest Michael Paquier <michael@paquier.xyz>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Re: Add system identifier to backup manifest Sravan Kumar <sravanvcybage@gmail.com>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Michael Paquier <michael@paquier.xyz>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Re: Add system identifier to backup manifest Michael Paquier <michael@paquier.xyz>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Michael Paquier <michael@paquier.xyz>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Michael Paquier <michael@paquier.xyz>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Re: Add system identifier to backup manifest Michael Paquier <michael@paquier.xyz>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Re: Add system identifier to backup manifest Amul Sul <sulamul@gmail.com>
Re: Add system identifier to backup manifest Robert Haas <robertmhaas@gmail.com>
Hi All,
With the attached patch, the backup manifest will have a new key item as
"System-Identifier" 64-bit integer whose value is derived from pg_control while
generating it, and the manifest version bumps to 2.
"System-Identifier" 64-bit integer whose value is derived from pg_control while
generating it, and the manifest version bumps to 2.
This helps to identify the correct database server and/or backup for the
subsequent backup operations. pg_verifybackup validates the manifest system
identifier against the backup control file and fails if they don’t match.
Similarly, pg_basebackup increment backup will fail if the manifest system
identifier does not match with the server system identifier. The
pg_combinebackup is already a bit smarter -- checks the system identifier from
the pg_control of all the backups, with this patch the manifest system
identifier also validated.
subsequent backup operations. pg_verifybackup validates the manifest system
identifier against the backup control file and fails if they don’t match.
Similarly, pg_basebackup increment backup will fail if the manifest system
identifier does not match with the server system identifier. The
pg_combinebackup is already a bit smarter -- checks the system identifier from
the pg_control of all the backups, with this patch the manifest system
identifier also validated.
For backward compatibility, the manifest system identifier validation will be
skipped for version 1.
skipped for version 1.
В списке pgsql-hackers по дате отправления