Control-M: 22_NAQ_NONSAP - Event: JOB NOT OK App: RAD ERP-IS-CS-QA-DMQ Job: MAXDB-LOGBACKUP Folder: 9N2QA22_RAD-DATABASE-LVC
/sapdb/programs/bin/dbmcli -d DMQ -U DBBKP autolog_on 
ERR 
-24954,ERR_BANOAUTOMED: No medium found for automatic log backup 
Backup File Name generated = /sapdb/DMQ/sapbackup/DMQ_backup/DMQ_LOG.bak.045 
Checking if the backup file is present to backup to S3 bucket 
Backup file /sapdb/DMQ/sapbackup/DMQ_backup/DMQ_LOG.bak.045 present, proceeding with backup to S3 bucket. 
Executing - /usr/local/bin/aws s3 cp /sapdb/DMQ/sapbackup/DMQ_backup s3://itx-bkxhana-backup/quality/log/DMQ/ --exclude * --include DMQ_LOG.bak.045 --recursive 
Completed 448.0 KiB/448.0 KiB (16.6 MiB/s) with 1 file(s) remaining 
upload: ../../sapdb/DMQ/sapbackup/DMQ_backup/DMQ_LOG.bak.045 to s3://itx-bkxhana-backup/quality/log/DMQ/DMQ_LOG.bak.045 
Querying S3 bucket and checking if the backup to S3 was successful 
Executing - /usr/local/bin/aws s3 ls s3://itx-bkxhana-backup/quality/log/DMQ/DMQ_LOG.bak.045 
2025-12-18 21:02:50     458752 DMQ_LOG.bak.045 
Log backup file DMQ_LOG.bak.045 is successfully backed up at S3 bucket under - itx-bkxhana-backup/quality/log/ 
Removing the files LOG.bak* older than 1 days under /sapdb/DMQ/sapbackup/DMQ_backup location  
Executing - find /sapdb/DMQ/sapbackup/DMQ_backup -name DMQ_LOG.bak.* -mtime +1 -exec rm {} \; 
Please check log file - /usr/sap/scripts_local/sapops/logs/DMQ_ARCH_BKP_LOG_20251218_210245.txt 
Log backup completed successfully. 
