| |
@@ -427,6 +427,11 @@
|
| |
|
| |
/* tell it to archive */
|
| |
return_value = dblayer_backup(li, directory, task);
|
| |
+ if (return_value) {
|
| |
+ slapi_log_err(SLAPI_LOG_BACKLDBM,
|
| |
+ "ldbm_back_ldbm2archive", "dblayer_backup failed (%d).\n", return_value);
|
| |
+ goto err;
|
| |
+ }
|
| |
|
| |
return_value = plugin_call_plugins(pb, SLAPI_PLUGIN_BE_POST_BACKUP_FN);
|
| |
if (return_value) {
|
| |
Bug Description: If the dbhome directory is set, eg to /dev/shm/instance
then an online backup fails because it looks for the log.000000x file
in the wring diretcory.
This is hidden because the return code is overwritten before checking.
Fix Description: If dblayer_backup function fails - go to error processing
section.
https://pagure.io/389-ds-base/issue/51059
Reviewed by: ?