بتاريخ: 24 أكتوبر 200421 سنة comment_16236 ياشباب هل لديكم فكرة عن طريقة تخزين قاعدة بيانات أوراكل بإستعمال RMAN صح فطوركمرمضان كريمعبد اللطيف من الجزائر تم تحرير عنوان المشاركة . يجب توضيح العنوان لكي يدل على المضمون في المرات القادمة .إدارة المنتدى . تقديم بلاغ
بتاريخ: 25 أكتوبر 200421 سنة comment_16289 بأمكانك عمل النسخ الاختياطي لقاعدة البيانات كاملةً مع controlfile عن طريق الامر RMAN> backup database include current controlfile tag 'Satarday Backup'; تقديم بلاغ
بتاريخ: 18 نوفمبر 200421 سنة comment_18290 السلام عليكم ورحمة اللهاعتقد ان هذا ما تطلب /* Script Description: This script will identify the total datafiles, archive files as well as other files included up as part of the RMAN backup. Output file: rbq.lis Prepared/ Authored By: theOracleResourceStop Script Archive [url=http://www.orsweb.com]http://www.orsweb.com[/url] Usage Information: SQLPLUS SYS/pswd @rmanbackupqry.sql */ set lines 200; alter session set nls_date_format = 'DD-MON-YYYY HH:MI:SS'; col name heading "Database" format a10; col df heading "Total|Datafiles|Backed Up" format 9999; col al heading "Total|Archive logs|Backed Up" format 9999; col othf heading "Total|Other files|Backed Up" format 9999; col tag heading "Backup Mode" format a20; col st heading "Start|Date/Time" format date; col ct heading "Completion|Date/Time" format date; col bt heading "Backup|Type" format a6; col stat heading "Status" format a6; col cfi heading "Ctrlfile|Included?" format a8; col keep_until heading "Retention|Policy" format a20; col stime noprint; break on name spool rbq.lis select name, decode(substr(p.tag,1,3),'TAG','ARCHIVE-LOG-BACKUP',p.tag) tag, trunc(b.start_time) stime, min(b.start_time) st, max(b.completion_time) ct, sum(decode(p.BACKUP_TYPE, 'D', 1,0)) df, sum(decode(p.BACKUP_TYPE, 'L', 1,0)) al, sum(decode(p.BACKUP_TYPE, 'I', 1,0)) othf, decode(p.BACKUP_TYPE, 'D', 'Full', 'Incr') bt, DECODE(b.status,'A','Avail' ,'D','Deleted' ,'O','Unusable' ,b.status) stat, keep_until from rc_backup_set b, rc_database d, rc_backup_piece p where b.db_key=d.db_key and b.db_key=p.db_key and b.bs_key=p.bs_key group by name,p.tag,trunc(b.start_time), p.backup_type,b.status,keep_until order by min(b.start_time); spool off; clear columns; clear breaks; تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.