You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-17 01:12:23 +02:00
Fixed a few directory syncs that were missed for the --repo-sync option.
This commit is contained in:
@ -143,6 +143,10 @@
|
|||||||
|
|
||||||
<p>Fixed const assignment giving compiler warning in C library.</p>
|
<p>Fixed const assignment giving compiler warning in C library.</p>
|
||||||
</release-item>
|
</release-item>
|
||||||
|
|
||||||
|
<release-item>
|
||||||
|
<p>Fixed a few directory syncs that were missed for the <br-option>--repo-sync</br-option> option.</p>
|
||||||
|
</release-item>
|
||||||
</release-bug-list>
|
</release-bug-list>
|
||||||
</release-core-list>
|
</release-core-list>
|
||||||
</release>
|
</release>
|
||||||
|
@ -851,7 +851,7 @@ sub process
|
|||||||
my $strFileName = $oFileLocal->pathGet(PATH_BACKUP_TMP, $strFile);
|
my $strFileName = $oFileLocal->pathGet(PATH_BACKUP_TMP, $strFile);
|
||||||
|
|
||||||
# Write content out to a file
|
# Write content out to a file
|
||||||
fileStringWrite($strFileName, $$oFileHash{$strFile});
|
fileStringWrite($strFileName, $$oFileHash{$strFile}, false);
|
||||||
|
|
||||||
# Compress if required
|
# Compress if required
|
||||||
if ($bCompress)
|
if ($bCompress)
|
||||||
|
@ -330,9 +330,6 @@ sub iniSave
|
|||||||
confess &log(ERROR, "unable to move ${strFileTemp} to ${strFileName}", ERROR_FILE_MOVE);
|
confess &log(ERROR, "unable to move ${strFileTemp} to ${strFileName}", ERROR_FILE_MOVE);
|
||||||
}
|
}
|
||||||
|
|
||||||
# Sync the directory to make sure the changes stick
|
|
||||||
filePathSync(dirname($strFileName));
|
|
||||||
|
|
||||||
# Return from function and log return values if any
|
# Return from function and log return values if any
|
||||||
return logDebugReturn($strOperation);
|
return logDebugReturn($strOperation);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user