You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-11-29 22:28:02 +02:00
Fixed check command to throw an error when database version/id does not match that of the archive.
Fixed by Cynthia Shang.
This commit is contained in:
committed by
David Steele
parent
f95d4af64a
commit
6e9d5f5bd3
@@ -209,7 +209,7 @@ sub iniLoad
|
||||
####################################################################################################################################
|
||||
# save
|
||||
#
|
||||
# Save the manifest.
|
||||
# Save the file.
|
||||
####################################################################################################################################
|
||||
sub save
|
||||
{
|
||||
@@ -358,7 +358,7 @@ sub hash
|
||||
# Remove the old checksum
|
||||
$self->remove(INI_SECTION_BACKREST, INI_KEY_CHECKSUM);
|
||||
|
||||
# Caculate the checksum
|
||||
# Calculate the checksum
|
||||
my $oChecksumContent = dclone($self->{oContent});
|
||||
|
||||
foreach my $strSection (keys(%$oChecksumContent))
|
||||
|
||||
Reference in New Issue
Block a user