الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

اريد طريقة الـ Backup بإستخدام الـ ٌRMAN

Featured Replies

بتاريخ:

ياشباب هل لديكم فكرة عن طريقة تخزين قاعدة بيانات أوراكل بإستعمال RMAN
صح فطوركم
رمضان كريم
عبد اللطيف من الجزائر ;)


تم تحرير عنوان المشاركة . يجب توضيح العنوان لكي يدل على المضمون في المرات القادمة .
إدارة المنتدى .

بتاريخ:

بأمكانك عمل النسخ الاختياطي لقاعدة البيانات كاملةً مع controlfile عن طريق الامر

RMAN> backup database include current controlfile tag 'Satarday Backup';

  • بعد 4 أسابيع...
بتاريخ:

السلام عليكم ورحمة الله
اعتقد ان هذا ما تطلب

/* 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;

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.