1.LỖI BACKUP
RMAN-03009: failure of Control File and SPFILE Autobackup command on ORA_DISK_1 channel at 01/31/2026 01:22:00
ORA-00245: control file backup failed; target is likely on a local file system
2.NGUYÊN NHÂN
- Không auto backup control file ra phân vùng local được
3.GIẢI PHÁP
RMAN> show snapshot controlfile name;
RMAN configuration parameters for database with db_unique_name vietdba are:
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+RECO/vietdba/snapcf_vietdba.f';
RMAN> backup current controlfile;
Starting backup at 31-JAN-26
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=5924 instance=vietdbahcm2 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=1074 instance=vietdbahcm2 device type=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: SID=2333 instance=vietdbahcm2 device type=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: SID=2081 instance=vietdbahcm2 device type=DISK
allocated channel: ORA_DISK_5
channel ORA_DISK_5: SID=2270 instance=vietdbahcm2 device type=DISK
allocated channel: ORA_DISK_6
channel ORA_DISK_6: SID=2710 instance=vietdbahcm2 device type=DISK
allocated channel: ORA_DISK_7
channel ORA_DISK_7: SID=2396 instance=vietdbahcm2 device type=DISK
allocated channel: ORA_DISK_8
channel ORA_DISK_8: SID=2965 instance=vietdbahcm2 device type=DISK
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
channel ORA_DISK_1: starting piece 1 at 31-JAN-26
channel ORA_DISK_1: finished piece 1 at 31-JAN-26
piece handle=+RECO/vietdba/backupset/2026_01_31/ncnnf0_tag20260131t111659_0.1894.1223983021 tag=TAG20260131T111659 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 31-JAN-26
Starting Control File and SPFILE Autobackup at 31-JAN-26
piece handle=/backupdb/level1/auto_vietdba_ctlc-2373684767-20260131-03 comment=NONE --> Chỗ này cần chỉnh lại
Finished Control File and SPFILE Autobackup at 31-JAN-26
RMAN> show all;
RMAN configuration parameters for database with db_unique_name vietdba are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION ON;
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backupdb/level1/auto_vietdba_ctl%F';
CONFIGURE DEVICE TYPE DISK PARALLELISM 8 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+RECO/vietdba/snapcf_vietdba.f';
RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backupdb/auto_vietdba_ctl%F';
old RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backupdb/level1/auto_vietdba_ctl%F';
new RMAN configuration parameters:
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/backupdb/auto_vietdba_ctl%F';
new RMAN configuration parameters are successfully stored
RMAN> backup current controlfile;
Starting backup at 31-JAN-26
using channel ORA_DISK_1
using channel ORA_DISK_2
using channel ORA_DISK_3
using channel ORA_DISK_4
using channel ORA_DISK_5
using channel ORA_DISK_6
using channel ORA_DISK_7
using channel ORA_DISK_8
channel ORA_DISK_1: starting full datafile backup set
channel ORA_DISK_1: specifying datafile(s) in backup set
including current control file in backup set
channel ORA_DISK_1: starting piece 1 at 31-JAN-26
channel ORA_DISK_1: finished piece 1 at 31-JAN-26
piece handle=+RECO/vietdba/backupset/2026_01_31/ncnnf0_tag20260131t111759_0.4909.1223983081 tag=TAG20260131T111759 comment=NONE
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:01
Finished backup at 31-JAN-26
Starting Control File and SPFILE Autobackup at 31-JAN-26
piece handle=/backupdb/auto_vietdba_ctlc-2373684767-20260131-04 comment=NONE --> OK
Finished Control File and SPFILE Autobackup at 31-JAN-26
ls -la /[oracle@vietdba-db-02 ~]$ ls -la /backupdb
total 109824
drwxr-xr-x. 9 oracle oinstall 4096 Jan 31 11:18 .
dr-xr-xr-x. 21 root root 4096 Dec 24 10:35 ..
-rw-r-----. 1 oracle asmadmin 111935488 Jan 31 11:18 auto_vietdba_ctlc-2373684767-20260131-04
drwxrwxr-x. 5 oracle oinstall 135168 Jan 31 00:45 dump
drwxr-xr-x. 2 oracle oinstall 53248 Jan 15 17:48 imp_logs
drwxr-xr-x. 2 oracle oinstall 36864 Jan 27 00:00 level0
drwxr-xr-x. 2 oracle oinstall 249856 Jan 31 11:17 level1
drwxr-xr-x. 2 oracle oinstall 4096 Jan 31 00:00 logs
drwxr-xr-x. 4 oracle oinstall 45 Jan 30 09:39 ogg
drwxr-xr-x. 2 oracle oinstall 98 Jan 4 23:56 scripts
TƯ VẤN: Click Here hoặc Hotline/Zalo 090.29.12.888
=============================
Website không chứa bất kỳ quảng cáo nào, mọi đóng góp để duy trì phát triển cho website (donation) xin vui lòng gửi về STK 90.2142.8888 - Ngân hàng Vietcombank Thăng Long - TRAN VAN BINH
=============================
Nếu bạn không muốn bị AI thay thế và tiết kiệm 3-5 NĂM trên con đường trở thành DBA chuyên nghiệp hay làm chủ Database thì hãy đăng ký ngay KHOÁ HỌC ORACLE DATABASE A-Z ENTERPRISE, được Coaching trực tiếp từ tôi với toàn bộ bí kíp thực chiến, thủ tục, quy trình của gần 20 năm kinh nghiệm (mà bạn sẽ KHÔNG THỂ tìm kiếm trên Internet/Google) từ đó giúp bạn dễ dàng quản trị mọi hệ thống Core tại Việt Nam và trên thế giới, đỗ OCP.
- CÁCH ĐĂNG KÝ: Gõ (.) hoặc để lại số điện thoại hoặc inbox https://m.me/tranvanbinh.vn hoặc Hotline/Zalo 090.29.12.888
- Chi tiết tham khảo:
https://bit.ly/oaz_w
=============================
2 khóa học online qua video giúp bạn nhanh chóng có những kiến thức nền tảng về Linux, Oracle, học mọi nơi, chỉ cần có Internet/4G:
- Oracle cơ bản: https://bit.ly/admin_1200
- Linux: https://bit.ly/linux_1200
=============================
KẾT NỐI VỚI CHUYÊN GIA TRẦN VĂN BÌNH:
📧 Mail: binhoracle@gmail.com
☎️ Mobile/Zalo: 0902912888
👨 Facebook: https://www.facebook.com/BinhOracleMaster
👨 Inbox Messenger: https://m.me/101036604657441 (profile)
👨 Fanpage: https://www.facebook.com/tranvanbinh.vn
👨 Inbox Fanpage: https://m.me/tranvanbinh.vn
👨👩 Group FB: https://www.facebook.com/groups/DBAVietNam
👨 Website: https://www.tranvanbinh.vn
👨 Blogger: https://tranvanbinhmaster.blogspot.com
🎬 Youtube: https://www.youtube.com/@binhguru
👨 Tiktok: https://www.tiktok.com/@binhguru
👨 Linkin: https://www.linkedin.com/in/binhoracle
👨 Twitter: https://twitter.com/binhguru
👨 Podcast: https://www.podbean.com/pu/pbblog-eskre-5f82d6
👨 Địa chỉ: Tòa nhà Sun Square - 21 Lê Đức Thọ - Phường Mỹ Đình 1 - Quận Nam Từ Liêm - TP.Hà Nội
=============================
cơ sở dữ liệu, cơ sở dữ liệu quốc gia, database, AI, trí tuệ nhân tạo, artificial intelligence, machine learning, deep learning, LLM, ChatGPT, DeepSeek, Grok, oracle tutorial, học oracle database, Tự học Oracle, Tài liệu Oracle 12c tiếng Việt, Hướng dẫn sử dụng Oracle Database, Oracle SQL cơ bản, Oracle SQL là gì, Khóa học Oracle Hà Nội, Học chứng chỉ Oracle ở đầu, Khóa học Oracle online,sql tutorial, khóa học pl/sql tutorial, học dba, học dba ở việt nam, khóa học dba, khóa học dba sql, tài liệu học dba oracle, Khóa học Oracle online, học oracle sql, học oracle ở đâu tphcm, học oracle bắt đầu từ đâu, học oracle ở hà nội, oracle database tutorial, oracle database 12c, oracle database là gì, oracle database 11g, oracle download, oracle database 19c/21c/23c/23ai, oracle dba tutorial, oracle tunning, sql tunning , oracle 12c, oracle multitenant, Container Databases (CDB), Pluggable Databases (PDB), oracle cloud, oracle security, oracle fga, audit_trail,oracle RAC, ASM, oracle dataguard, oracle goldengate, mview, oracle exadata, oracle oca, oracle ocp, oracle ocm , oracle weblogic, postgresql tutorial, mysql tutorial, mariadb tutorial, ms sql server tutorial, nosql, mongodb tutorial, oci, cloud, middleware tutorial, docker, k8s, micro service, hoc solaris tutorial, hoc linux tutorial, hoc aix tutorial, unix tutorial, securecrt, xshell, mobaxterm, putty