You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-09-16 09:06:18 +02:00
Only save manifest once
This commit is contained in:
@@ -855,8 +855,8 @@ sub backup
|
||||
# Delete files leftover from a partial backup
|
||||
# !!! do it
|
||||
|
||||
# Save the backup conf file first time - so we can see what is happening in the backup
|
||||
backup_manifest_save($strBackupConfFile, \%oBackupManifest);
|
||||
# # Save the backup conf file first time - so we can see what is happening in the backup
|
||||
# backup_manifest_save($strBackupConfFile, \%oBackupManifest);
|
||||
|
||||
# Perform the backup
|
||||
backup_file($strBackupPath, $strDbClusterPath, \%oBackupManifest);
|
||||
@@ -875,8 +875,8 @@ sub backup
|
||||
{
|
||||
sleep(10);
|
||||
|
||||
# Save the backup conf file second time - before getting archive logs in case that fails
|
||||
backup_manifest_save($strBackupConfFile, \%oBackupManifest);
|
||||
# # Save the backup conf file second time - before getting archive logs in case that fails
|
||||
# backup_manifest_save($strBackupConfFile, \%oBackupManifest);
|
||||
|
||||
# After the backup has been stopped, need to make a copy of the archive logs need to make the db consistent
|
||||
my @stryArchive = archive_list_get($strArchiveStart, $strArchiveStop, $oDb->version_get() < 9.3);
|
||||
|
Reference in New Issue
Block a user