1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/lib/pgBackRest
David Steele 1f2ce45e6b The backup command is implemented entirely in C.
For the most part this is a direct migration of the Perl code into C except as noted below.

A backup can now be initiated from a linked directory.  The link will not be stored in the manifest or recreated on restore.  If a link or directory does not already exist in the restore location then a directory will be created.

The logic for creating backup labels has been improved and it should no longer be possible to get a backup label earlier than the latest backup even with timezone changes or clock skew.  This has never been an issue in the field that we know of, but we found it in testing.

For online backups all times are fetched from the PostgreSQL primary host (before only copy start was).  This doesn't affect backup integrity but it does prevent clock skew between hosts affecting backup duration reporting.

Archive copy now works as expected when the archive and backup have different compression settings, i.e. when one is compressed and the other is not.  This was a long-standing bug in the Perl code.

Resume will now work even if hardlink settings have been changed.

Reviewed by Cynthia Shang.
2019-12-13 17:14:26 -05:00
..
Archive The backup command is implemented entirely in C. 2019-12-13 17:14:26 -05:00
Backup The backup command is implemented entirely in C. 2019-12-13 17:14:26 -05:00
Common Remove test point infrastructure. 2019-12-10 13:16:47 -05:00
Config Fix comment typos. 2019-08-26 12:05:36 -04:00
Protocol Remove test point infrastructure. 2019-12-10 13:16:47 -05:00
Storage Don't decode manifest data when it is generated on a remote. 2019-09-03 12:30:45 -04:00
Db.pm The backup command is implemented entirely in C. 2019-12-13 17:14:26 -05:00
DbVersion.pm PostgreSQL 12 support. 2019-10-01 13:20:43 -04:00
InfoCommon.pm Added stanza-upgrade command. 2017-04-03 10:42:55 -04:00
LibC.pm Remove perl critic and coverage. 2019-07-05 16:55:17 -04:00
LibCAuto.pm Remove obsolete --perl-option option. 2019-12-10 13:28:15 -05:00
Main.pm The backup command is implemented entirely in C. 2019-12-13 17:14:26 -05:00
Manifest.pm Use more general error code when tablespace linked into PGDATA. 2019-12-02 10:49:25 -05:00
Version.pm Begin v2.21 development. 2019-12-12 09:05:10 -05:00