You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-16 23:47:38 +02:00
Allow zero-size files in backup manifest to reference a prior manifest regardless of timestamp delta.
Contributed by Cynthia Shang.
This commit is contained in:
committed by
David Steele
parent
0ed37ab9e7
commit
eb30d88b6a
@ -504,6 +504,10 @@ sub run
|
||||
executeTest("sudo chown " . BACKREST_USER . " ${strResumePath}/file.tmp");
|
||||
}
|
||||
|
||||
# Add zero-sized file
|
||||
$oHostDbMaster->manifestFileCreate(\%oManifest, MANIFEST_TARGET_PGDATA, 'zero_from_start', undef,
|
||||
undef, $lTime, undef, true);
|
||||
|
||||
$strFullBackup = $oHostBackup->backup(
|
||||
$strType, 'resume',
|
||||
{oExpectedManifest => \%oManifest, strTest => TEST_BACKUP_RESUME,
|
||||
|
Reference in New Issue
Block a user