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

كيف يمكن عمل نسخه احتياطيه من قاعده البيانات

Featured Replies

بتاريخ:

مافيش حد كلمنا على كيف يمكن عمل نسخه احتياطيه من قاعده البيانات
وجعل هناك نسخه احتياطيه فى مكان اخر من الهارد

بتاريخ:

الأخ الكريم

يمكن عمل نسخة إحتياطية بواسطة تعليمة EXP80 وهي Command Line

تحدد فيها UserName/PassWord ويمكن الحصول على باقي البارامترات في طلب ملف المساعدة والتي تحدد طلب عمل نسخة إحتياطية للـ Table أو الـ Functions

الصلاحيات ألخ.....

كما يمكن إستعادة البيانات المخزنه أي عملية الـ Restore بالتعليمه الخارجية أيضا"

IMP80 ...

اما عن إستخدامها في الفورم يمكن إنشاء فورم لعملية الـ Backup نضع علية زر

ومن الـ When -Button-Pressed نكتب مايلي :


Begin
Host ('EXP80 System/manger file=c:\Backup.dmp');
End;

ونربط هذا الفورم بالـ Menu

أرجو أن أكون قد أجبتك

مع تحياتي

اخوك Sami :rolleyes:

بتاريخ:

شرح ممتاز جزاكم الله خيرا

بتاريخ:

ملاحظه
امر الـexp80 الذي ذكره الاخ sam94 اضنه يعمل فقط مع اواركل 8 اما بالنسبه لاواركل 8i فالامر هو exp

معلومات اضافية
لعمل نسخ كامله من قاعده البيانات

exp userid=system/manager file=full_data.dmp full=y


لعمل نسخه لمستخدم معين فقط

exp userid=scott/tiger  file=scott.dmp

بتاريخ:

ممكن تحديد ايضا مسار معين لملفات الباك آب

exp userid=scott/tiger file=c:\Backup\scott.dmp



او عمل باك آب باسلوب آخر وهو من خلال البرمجه على الديفولوبر بعمل insert لسجلات معينة من جدول معين يسبقها delete من الجدول الأصلي الى جدول أرشيف وهو ما يسمى بعملية ترحيل البيانات أو الأرشفة

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

شكرا يا Oramaster and khaled and sam94
هذا الرد جميل جدااااااااااااااااااااااااااااااااا :rolleyes:

بتاريخ:

الله عليكم يا أعضاء المنتدى

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

Hi..
In fact the Export method is a good tool to backup database if its small and you are not worry about your database definition, Oracle Documentation says always that Export is tool to transfer data from a user to other or from database to other database, so we have to say that Exp is not a full solution to backup your database, so what is the response?
It's as (( Oracle Documentation says )) RMAN ((Recovery Manager)), it's the right tool to backup your database to other database or the same database.
with Rman you can depend on the control file to be your reference in the backup and restore operations, or you can create recovery manager catalogue which saves all information about your database and by using Catalogue you can chack you database backup sets and your backup staus, also RMAN provides the ability to check your backup sets status :is it work or not?
and restoring your database from RMAN backup sets is more reliable and easy, add to all what I said RMAN lets you backup your Control file and your Logfile and also your Archive Log files and delete them in order to keep your disk space,
what do I have to say about RMAN, Ok
Also you can create your own script and save it to be executed each time without rewriting it and you can edit this script whenever you want. and your scripts will be saved in the Database data dictionary and you can select them from views.
RMAN is the complete solution to be relax with your Backup issue.
At the end I have to say that RMAN is exist in ORA8i and later.
I use Exp to transfer data from .. to .
not to keep my database definition while RMAN (using catalogue) keeps your database definition and synchronize its data each time .
I hope what I said to be useful to you.

Tarek .

  • بعد 1 سنة...
بتاريخ:

مشكور و جزاك الله الف خير و كثر الله من امثالك يا اخي العزيز .

بتاريخ:

i agree with mrtarek
export and import is only used for transfere data between servers .
but not good when database failure we must use backup and recovery tool
RMAN

  • بعد 1 سنة...
بتاريخ:

DECLARE
dis     NUMBER(5);
fn varchar2(100);
BEGIN IF :SEL_EMP_EXP = 1 THEN  ---  تصدير القاعدة
 fn:=GET_FILE_NAME('D:\',NULL,'','حدد اسم ملف قاعدة البيانات التي تريد تصديرها',
 save_FILE,TRUE);
  IF fn IS NOT NULL THEN 
   HOST('Exp UserId ='||USER||'/'||Get_Application_Property(PASSWORD)||' File = '||fn||'.DMP LOG='||fn||'.LOG');
   END IF;
ELSIF :SEL_EMP_EXP = 2 THEN  --- استيراد القاعدة
  fn:=GET_FILE_NAME('D:\',NULL,'DATE_BASE_NAME(*.DMP)/*.DMP/','حدد اسم ملف قاعدة البيانات التي تريد استيرادها',
  OPEN_FILE,TRUE);
  IF fn IS NOT NULL THEN 
   HOST('Imp UserId ='||USER||'/'||Get_Application_Property(PASSWORD)||' File = '||fn||' full=yes');
  END IF;
END IF;
end;

بتاريخ:

واليكم الملف المرفق

بتاريخ:

واليكم الملف المرفق
  • بعد 1 سنة...
بتاريخ:

لا يوجد ملف مرفق

  • بعد 1 سنة...
بتاريخ:

السلام عليكم
كيف يمكن عمل زر ينفذ backup لجميع database من خلال الrman

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

use OEM

or

== if archivelog mode while db is mounted or open

RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
RMan> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'd:\%F;
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'd:\%U';
RMAN> backup database plus archivelog;


or

== if no archivelog mode while db is mounted

RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
RMan> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO 'd:\%F;
RMAN> CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT 'd:\%U';
RMAN> shutdown immediate;
RMAN> startup mount;
RMAN> backup database;

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

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

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

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

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

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.