[com.adventnet.db.adapter.BackupRestoreUtil]|[WARNING]|[250]: pg_basebackup: could not get write-ahead log end position from server: ERROR: could not open file "./pg_hba.conf_3may23.bkp": Permission denied|
[17:10:37:833]|[05-30-2023]|[com.adventnet.db.adapter.BackupRestoreUtil]|[WARNING]|[250]: pg_basebackup: removing data directory "/opt/managemsp/ServiceDeskPlus-MSP/backup/backup_postgres_13003_fullbackup_05_30_2023_17_10/FullBackup_20230530171001_postgres_13003_ScheduledBackup_part_1/data"|
[17:10:37:834]|[05-30-2023]|[com.adventnet.db.adapter.BackupRestoreUtil]|[INFO]|[250]: Wait For returns :: [1] Process exitValue :: [1]|
[17:10:37:837]|[05-30-2023]|[SYSERR]|[INFO]|[250]: com.adventnet.db.adapter.BackupRestoreException: B0BP09: Problem while executing command.|
[17:10:37:837]|[05-30-2023]|[SYSERR]|[INFO]|[250]: at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)|
[17:10:37:837]|[05-30-2023]|[SYSERR]|[INFO]|[250]: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)|
[17:10:37:837]|[05-30-2023]|[SYSERR]|[INFO]|[250]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)|
[17:10:37:837]|[05-30-2023]|[SYSERR]|[INFO]|[250]: at java.lang.Thread.run(Thread.java:748)|
[17:10:37:839]|[05-30-2023]|[com.adventnet.db.adapter.AbstractBackupHandler]|[INFO]|[250]: backupStatus :: <BackupStatus backup_id=3001 backupType="FULL_BACKUP" backup_folder="/opt/managemsp/ServiceDeskPlus-MSP/backup/backup_postgres_13003_fullbackup_05_30_2023_17_10" backup_zipname="FullBackup_20230530171001_postgres_13003_ScheduledBackup_part_1.ezip" backup_starttime="2023-05-30 17:10:01.366" backup_endtime="1970-01-01 02:59:59.999" backup_status="BACKUP_PROCESS_FAILED" dataFileCount="0" lastDataFileName="null" lastDataFileModifiedTime="-1" fileNames="null" exceptionContext="null"/>|
[17:10:37:848]|[05-30-2023]|[com.adventnet.taskengine.backup.DbBackupTask]|[INFO]|[250]: BackupStatus updated in DB :: <BackupStatus backup_id=3001 backupType="FULL_BACKUP" backup_folder="/opt/managemsp/ServiceDeskPlus-MSP/backup/backup_postgres_13003_fullbackup_05_30_2023_17_10" backup_zipname="FullBackup_20230530171001_postgres_13003_ScheduledBackup_part_1.ezip" backup_starttime="2023-05-30 17:10:01.366" backup_endtime="1970-01-01 02:59:59.999" backup_status="BACKUP_PROCESS_FAILED" dataFileCount="0" lastDataFileName="null" lastDataFileModifiedTime="-1" fileNames="null" exceptionContext="null"/>|
1) Run the cmd as an administrator.
2) From <Drive>:\ManageEngine\Servicedesk Plus MSP\bin execute the command initPgsql.sh.
3) Restart the application services and try scheduling the backup again.