الانتقال إلى المحتوى
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.

online backup problem.........can you help me

Featured Replies

بتاريخ:

i will explain the real promble that i found in online backup , at first iam using oralce9i under linux platform .. so when i was doing a practice in hot backup and how to recover it i found aproblem ,,, already i had changed my database mod to archive mod and and all the requirement in parameter file ,,,,,
and i issued ALTER TABLESPACE USR BEGIN BACKUP and i made so much transaction till the log sec# is changed after that i issued

ALTER TABLESPACE USR END BACKUP ,,, at this time i removed the USR.DBF this datafile belong to the USR tablespace ,,,,

NOTE:- i removed the datafile when the database is RUNING....

so when i issue SHUTDWON command it was close the database normal

and when i issue STARTUP it was open the database without display any error message and when i say SELECT*FROM V$TABLESPACE; it display all the tablespace including USR tablespace so when i want to display any table that stored in USR.DBF that belong to USR tablespace it display this message
---------------------------------------------------------------------------------------------------
ERROR AT LINE 1

ORA_00376:FILE 6 CANNOT BE READ AT THIS TIME
ORA_01110:DATA FILE 6:/DISK1/USR.DBF
---------------------------------------------------------------------------------------------------

another note: after i issued alter tablespace usr begin backup it took copy to usr.dbf datafile in different directory.................... but really i confused because iam not return the backup datafile to the orginal loaction but my database is open without display any message



---------------------------------------------------------------------------------------------------
note : when i remove the datafile upon the database is close i can recover it but when i remove it upon the database is running it my prob
and abserve i issued another command like RECOVER DATAFILE '/DISK1/USR.DBF' it display recovery completed but when i want to display any table it display that message

agin i issued this command ALTER DATABASE DATAFILE 'OLD LOCATION' AS 'NEW LOACTION' itdiplay use this command just for AUTOEXTEND OR DROP OR END OR RESIZE

so i wish to find the raight answer

alaaeldin
[email protected]

بتاريخ:

السلام عليكم ورحمة الله وبركاته
معذرة يا أخى
ولكن هل من الممكن طرح مسألتك باللغة العربيه أو بلغة انجليزية سليمه
شكرا .

تم تعديل بواسطة h_elshawaf

بتاريخ:
  • كاتب الموضوع

شكرا على المرور الاخ h_elshawaf
اولا احب اوضح لك انى مستخدم اوراكل 9i يعمل تحت اللنكس , وانا واجهت مشكله فى online backup انا سوف اوضح لك المشكله بالتفصيل
1/ my database in archive mode
2/ عندما كانت قاعدة البينات مفتوحه اخذته backup to USR.DBF datafile بأستخدام الامر
ALTER TABELSPACE USR BEGIN BACKUP
3/ وانشأت جدول اسمه t1 داخل USR.DBF وادخلت مجموعه من البيانات داخل الجدول
4/ واصدرت الامر الاتى ALTER SYSTEM SWITCH LOGFILE P حتى اغير السكونس نمبر
5/ اخذت backup to USR.BDF to different location
6/ كما اصدرت الامر الاتى لتوقيف backup بالامر الاتى
ALTER TABLESPACE USR END BACKUP
7/ وعندما كانت قاعدة البيانات مفتوحه قمت بمسح USR.DBF بأستخدام linux command
8/ واغلقت قاعدة البيانات ..... وتم اغلاق قاعدة البيانات من دون اى مشكله
9/ وعندما فتحت قاعدة البيانات تم فتحها من غير اى مشكله ايضا علما بأن هنالك ملف مفقود
10/ وعندما اصدرت الامر الاتى SELECT*FROM V$DATAFILE تم استعراض كل DATAFILE ومن ضمنه الملف المفقود
11/ وعندما حاولت اسنعراض الجدول t1 تم عرض وجود مشكله وهى الاتى

---------------------------------------------------------------------------------------------------
ERROR AT LINE 1

ORA_00376:FILE 6 CANNOT BE READ AT THIS TIME
ORA_01110:DATA FILE 6:/DISK1/USR.DBF
---------------------------------------------------------------------------------------------------
12/ على فكرة تم انشاء USR TABLESPACE WHEN MY DATABASE IN ARCHIVE MOD

وارجو ان تفيدونى بالحل

بتاريخ:
  • كاتب الموضوع

dear h_elshawaf

i have two question
----------------------------------(1)---------------------------------------------------------------
why the database administrator is not recommended to backup the redolog file ,,,,,, why
--------------------------------------------------(2)------------------------------------------------
suppose my database in archive mod and i don't have backup of redolog file ,, so if i lost the redolog file can i recover it .. how is't

thanx

بتاريخ:
  • كاتب الموضوع

بسم الله الرحمن الرحيم


اخى ابو صالح وبقيه الاخوه

ارجو ان تساعدونى............................



علاءالدين

بتاريخ:
  • كاتب الموضوع

الووووووووو :) وووووووووووووو اه البخل دا :blink: :blink: :rolleyes:

بتاريخ:
  • كاتب الموضوع

الووووووووو وووووووووووووو اه البخل دا :) B) :blink: :blink: :rolleyes: :rolleyes:

بتاريخ:

السلام عليكم ورحمة الله وبركاته

أخي الفاضل
mjingoof
أهلاً بك
و طول بالك إن شاء الله يرد عليك الأعضاء ..

و لي عودة إن شاء الله ,,

أخوكم

بتاريخ:
dear  h_elshawaf

i have two question
----------------------------------(1)---------------------------------------------------------------
why the database administrator is not recommended to backup the redolog file ,,,,,, why
--------------------------------------------------(2)------------------------------------------------
suppose my database in archive mod and i don't have backup of redolog file ,, so if i lost  the redolog file can i recover it ..  how is't

thanx

78093[/snapback]





Dear sir,
thanks for very important questions.
first questions:

i will tell u why dba's not recomended to backup redolog files:
the good reason is when the log switch occur the logfile will be overriten so u lost the old data so no need to backup these logfiles but if u r using archive log mode the logfiles will be archived so u have to take care about the archived files not redologs.

second question:
if ur database in archive log mode u need the online log file and the archived files so u can apply the data from archive log and u will get the latest data from online log file.

sorry becuase im not good in english but if anybody need more explain i dont mind.
thanks alot
بتاريخ:

السلام عليكم ورحمة الله وبركاته
بجد متأسف جدا يا أخى على التأخير لأنى لم أدخل على الموقع منذ فترة طويله ،
أولا : بالنسبة للسؤال الأول ، بالفعل ال dba ليس فى حاجه لوضع ال redologs ضمن خطة الbackup لأنه كما قال الأخ mawad انه يتم الكتابه عليها cycling اى يتم عمل overwrite على كل file عند عملية ال switch
بالنسبه للسؤال التانى :
لا يتم عمل recover لل redo log files ولكن فى هذه الحاله يمكن عمل reset لل sequence عن طريق فتح ال database ب rerset logs عندها بيتم عمل sequence جديد لل redo logs
وفى هذه الحاله يفضل مسح كل archive logs السابقه لأنك فى هذه الحاله تكون قد أنشأت new incarenation لل database
---------------
أما بالنسبة للمثال الذى فمت به فتأكد ان ال usr tablespace ليس فى ال backup mode وانه online
select tablespace_name,status from dba_tablespace;

وآسف للتأخير للمره الثانيه

بتاريخ:
  • كاتب الموضوع

el salam 3likom wa rahmat allah wa barakato

thanx alot dears h_elshawaf,mawad to reply my Question

really thanx all

بتاريخ:

السلام عليكم
ان شاء الله تكون مشكلتك اتحلت
مع الف سلامه
محمد عوض

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

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

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

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

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

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.