بتاريخ: 4 أغسطس 200817 سنة comment_135012 -- SUNDAY LEVEL 0 BACKUP run { allocate channel d1 type disk; setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200; set maxcorrupt for datafile 1,2,3,4,5,6 to 0; backup incremental level 0 cumulative skip inaccessible tag sunday_level_0 format 'c:\temp\df_t%t_s%s_p%p' database; copy current controlfile to 'c:\temp\sunday.ctl'; sql 'alter system archive log current'; backup format 'c:\temp\al_t%t_s%s_p%p' archivelog all delete input; release channel d1; } -- MONDAY LEVEL 2 BACKUP run { allocate channel d1 type disk; setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200; set maxcorrupt for datafile 1,2,3,4,5,6 to 0; backup incremental level 2 cumulative skip inaccessible tag monday_level_2 format 'c:\temp\df_t%t_s%s_p%p' database; copy current controlfile to 'c:\temp\monday.ctl'; sql 'alter system archive log current'; backup format 'c:\temp\al_t%t_s%s_p%p' archivelog all delete input; release channel d1; } -- TUESDAY LEVEL 2 BACKUP run { allocate channel d1 type disk; setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200; set maxcorrupt for datafile 1,2,3,4,5,6 to 0; backup incremental level 2 cumulative skip inaccessible tag tueday_level_2 format 'c:\temp\df_t%t_s%s_p%p' database; copy current controlfile to 'c:\temp\tuesday.ctl'; sql 'alter system archive log current'; backup format 'c:\temp\al_t%t_s%s_p%p' archivelog all delete input; release channel d1; } -- WEDNESDAY LEVEL 2 BACKUP run { allocate channel d1 type disk; setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200; set maxcorrupt for datafile 1,2,3,4,5,6 to 0; backup incremental level 2 cumulative skip inaccessible tag wednesday_level_2 format 'c:\temp\df_t%t_s%s_p%p' database; copy current controlfile to 'c:\temp\wednesday.ctl'; sql 'alter system archive log current'; backup format 'c:\temp\al_t%t_s%s_p%p' archivelog all delete input; release channel d1; } -- THURSDAY LEVEL 1 BACKUP run { allocate channel d1 type disk; setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200; set maxcorrupt for datafile 1,2,3,4,5,6 to 0; backup incremental level 1 cumulative skip inaccessible tag thursday_level_1 format 'c:\temp\df_t%t_s%s_p%p' database; copy current controlfile to 'c:\temp\thursday.ctl'; sql 'alter system archive log current'; backup format 'c:\temp\al_t%t_s%s_p%p' archivelog all delete input; release channel d1; } -- FRIDAY LEVEL 2 BACKUP run { allocate channel d1 type disk; setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200; set maxcorrupt for datafile 1,2,3,4,5,6 to 0; backup incremental level 2 cumulative skip inaccessible tag friday_level_2 format 'c:\temp\df_t%t_s%s_p%p' database; copy current controlfile to 'c:\temp\friday.ctl'; sql 'alter system archive log current'; backup format 'c:\temp\al_t%t_s%s_p%p' archivelog all delete input; release channel d1; } -- SATURDAY LEVEL 2 BACKUP run { allocate channel d1 type disk; setlimit channel d1 kbytes 2097150 maxopenfiles 32 readrate 200; set maxcorrupt for datafile 1,2,3,4,5,6 to 0; backup incremental level 2 cumulative skip inaccessible tag saturday_level_2 format 'c:\temp\df_t%t_s%s_p%p' database; copy current controlfile to 'c:\temp\saturday.ctl'; sql 'alter system archive log current'; backup format 'c:\temp\al_t%t_s%s_p%p' archivelog all delete input; release channel d1; } تقديم بلاغ
بتاريخ: 4 أغسطس 200817 سنة comment_135015 this code is valid for Oracle 8i in both Oracle 9i and 10g Oracle releases the channel automatically so no need to write it in the script. تقديم بلاغ
بتاريخ: 4 أغسطس 200817 سنة comment_135052 اخي الكريم , والله مش فاهم شي ؟؟؟؟؟؟؟؟؟ بارك الله بك تقديم بلاغ
بتاريخ: 5 أغسطس 200817 سنة كاتب الموضوع comment_135083 this code is valid for Oracle 8i in both Oracle 9i and 10g Oracle releases the channel automatically so no need to write it in the script. شكرا لردك الكريم اخى العزيز airtifa ..واحب ان احيط علم سيادتكم بان سياسه المنتدى تنص على ان اى نوع من انواع الكود يجب ان يكون صالحا لاى اصدار من قواعد البيانات ...وانت مشكورا تفضلت باحاطه القراء بالاختلاف بين الاصدارين ...وبهذا قد علم القراء بان هذا السكريبت يصلح لجميع اصدارات اوراكل داتابيز والدليل على ذلك انك ان قمت بتجربته على داتابيز 9 او 10g فسيعمل معك بكفائه . تقديم بلاغ
بتاريخ: 5 أغسطس 200817 سنة كاتب الموضوع comment_135087 اخي الكريم , والله مش فاهم شي ؟؟؟؟؟؟؟؟؟ بارك الله بك هذا الكود هو عباره عن باكاب بشكل يومى لداتابيز تعمل 24*7 .باستخدام اداه قويه جدا من اوراكل RMAN مخصصه لامور الباكاب والريكفري للداتابيز ..ومهمته حفظ البيانات المهمه فى قاعده البيانات لامور الطواريء مثل فقدان فى الداتا لا قدر الله ...واى استفسار اخر انا فى خدمه جميع الاعضاء شكرا لردك اخى تقديم بلاغ
بتاريخ: 5 أغسطس 200817 سنة comment_135097 اخي العزيز drclick بارك الله بك على الرد , اريد ان استفسر من حضرتك بخصوص هذا الموضوع أنا حسب معلافتي يوجد نوعين من backup * logical*physicalطريقة RMAN تشمل اي نوع ؟ ؟حل هذه الطريقة تستخدم لعمل BACKUP لقاعدة البيانات بشكل كامل ولا ممكن نحددها لمستخدمين معينين ؟انا والله حاب اجرب الطريقة هذه بس مش عارف يعني هذا الكود وين اضعه , انا بستخدم DATABASE 10G ,طيب اذا بدي استرجع هذا ال BACKUP اي اعمل IMP ان كان التعبير صحيحا ما هو الكود ؟؟؟؟أريد تجربة الطريقة لدي ما المطلوب تعديله من الكود السابق ؟ هل يشترط ان تكون قاعدة البيانات مغلقة اثناء BACKUPهل نوع قاعدة البيانات يؤثر ARHIVE , NOARCGIVEوالله ما بعرف اكيد راح اغلبك كثير بس والله حاب اعرفها لو تكرمت ..... تقديم بلاغ
بتاريخ: 27 أبريل 200916 سنة comment_154974 شكرا يا اخى على الاسكربت ...يبقى شىء واحد وهو الاسكربت ده لو ممكن يرن فى اليوم الواحد اكتر من مره عشاء يكون ابتودات للداتا بمعنى يكون انكرمنتل وشكرا تقديم بلاغ
بتاريخ: 23 أغسطس 200916 سنة comment_167626 اشكرك اخي الكريم على الكود لكن بصراحة ماعارف كيف استخدمة وفين بالظبط اكتب هذا الكود وايضاً كيفية استرجاع البيانات تقديم بلاغ
انضم إلى المناقشة
يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.