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 backup_media_put DMQ_LOG.bak /sapdb/DMQ/sapbackup/DMQ_backup/DMQ_LOG.bak FILE LOG 0 8 YES NO 
OK 
/sapdb/programs/bin/dbmcli -d DMQ -U DBBKP autolog_off 
OK 
/sapdb/programs/bin/dbmcli -d DMQ -U DBBKP -UUTL DBBKP -c backup_start DMQ_LOG.bak LOG 
OK 
Returncode          	0 
Date                	20251123 
Time                	00181522 
Server              	CSDMQ1 
Database            	DMQ 
Kernel Version      	Kernel    7.9.10   Build 012-123-272-999 
Pages Transferred   	24 
Pages Left          	0 
Volumes             	1 
Medianame           	DMQ_LOG.bak 
Location            	/sapdb/DMQ/sapbackup/DMQ_backup/DMQ_LOG.bak.017 
Errortext           	 
Label               	LOG_000000017 
Is Consistent       	 
First LOG Page      	217 
Last LOG Page       	218 
DB Stamp 1 Date     	20251122 
DB Stamp 1 Time     	00210251 
DB Stamp 2 Date     	20251123 
DB Stamp 2 Time     	00030003 
Page Count          	24 
Devices Used        	1 
Database ID         	CSDMQ1:DMQ_20251107_030003 
Max Used Data Page  	 
Converter Page Count	 
/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.017 
Checking if the backup file is present to backup to S3 bucket 
Backup file /sapdb/DMQ/sapbackup/DMQ_backup/DMQ_LOG.bak.017 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.017 --recursive 
Completed 256.0 KiB/256.0 KiB (5.3 MiB/s) with 1 file(s) remaining 
upload: ../../sapdb/DMQ/sapbackup/DMQ_backup/DMQ_LOG.bak.017 to s3://itx-bkxhana-backup/quality/log/DMQ/DMQ_LOG.bak.017 
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.017 
2025-11-23 18:15:25     262144 DMQ_LOG.bak.017 
Log backup file DMQ_LOG.bak.017 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_20251123_181519.txt 
Log backup completed successfully. 
