Sample Header Ad - 728x90

ORA-19504: failed to create file "bh2jk0h7_1_1"

0 votes
1 answer
1073 views
I want to create a script to get incremental backup of the remote Oracle database every week. I save this command in *rman_command.sh* and give permission to it: BACKUP INCREMENTAL LEVEL 0 DATABASE PLUS ARCHIVELOG FORMAT '/home/oracle/backup_oracle_process/backup_files/%U'; Then I run this script that have this content,*script_backup.sh*: #!/bin/bash export ORACLE_HOME=/home/oracle/oracle_database_client export PATH=$ORACLE_HOME/bin:$PATH rman target sys/pA55w0rd@//172.28.10.22:1521/DSLDB22 @rman_command.sh exit; Also I run these commands to give permission to the folder for saving backup files: chmod +x backup_oracle_process/* chown -R root backup_oracle_process/* But,when run *bash script_backup.sh* I receive this error: Starting backup at 20-FEB-24 current log archived using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=273 device type=DISK channel ORA_DISK_1: starting archived log backup set channel ORA_DISK_1: specifying archived log(s) in backup set input archived log thread=1 sequence=1464 RECID=1 STAMP=1161427056 input archived log thread=1 sequence=1465 RECID=2 STAMP=1161427247 input archived log thread=1 sequence=1466 RECID=3 STAMP=1161427335 input archived log thread=1 sequence=1467 RECID=4 STAMP=1161427356 input archived log thread=1 sequence=1468 RECID=5 STAMP=1161429542 channel ORA_DISK_1: starting piece 1 at 20-FEB-24 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of backup plus archivelog command at 02/20/2024 11:17:55 ORA-19504: failed to create file "/home/oracle/backup_oracle_process/backup_files/bh2jk0h7_1_1" ORA-27040: file create error, unable to create file Linux-x86_64 Error: 2: No such file or directory Additional information: 1 Would you please guide me how to solve the problem? Any help is really appreciated.
Asked by M_Gh (101 rep)
Feb 20, 2024, 07:57 AM
Last activity: Feb 20, 2024, 11:48 AM