1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-04-25 12:04:48 +02:00

trying to make labels stick

This commit is contained in:
David Steele 2014-02-13 21:41:20 -05:00
parent ae3dcc57f0
commit dccdec2ffa

View File

@ -855,8 +855,10 @@ sub backup
my %oBackupManifest;
# Start backup
my $strArchiveStart = $oDb->backup_start($strBackupPath);
${oBackupManifest}{common}{backup}{label} = $strBackupPath;
${oBackupManifest}{common}{test}{test} = "test";
my $strArchiveStart = $oDb->backup_start($strBackupPath);
${oBackupManifest}{archive}{archive_location}{start} = $strArchiveStart;
&log(INFO, 'archive start: ' . $strArchiveStart);
@ -912,9 +914,6 @@ sub backup
}
}
# Store the label in the manifest
${oBackupManifest}{common}{backup}{label} = $strBackupPath;
# Need some sort of backup validate - create a manifest and compare the backup manifest
# !!! DO IT