السلام عليكم ورحمه الله وبركاته
لرجو شرح كيفية تصدير و استيراد ملف dmp بالنسبة لقاعدة oracle ولكم جزيل الشكر.
السلام عليكم ورحمه الله وبركاته
لرجو شرح كيفية تصدير و استيراد ملف dmp بالنسبة لقاعدة oracle ولكم جزيل الشكر.
اخي الكريم ...
استخدم الأمر exp for export
imp for import
on the server:
use run command
type the command
exp
and then follow which user you want to log on and which table to export
in the same way use the imp command to read the dmp file
لتصدير القاعدة كاملة
exp system<system_password> file=<out_put.dmp> full=y log=<logfile_name>
لتصدير مستخدم معين
exp <oracle_user/user_password> file=<out_put.dmp> grants=<Y/N> indexes=<Y/N> constrants=<Y?N> log=<logfile_name>
لتصدير مستخدم معين من مستوى النظام
exp <system/password> file=<out_put.dmp> user= <Oracle_username> grants=<Y/N> indexes=<Y/N> constrants=<Y?N> log=<logfile_name>
لتصدير جدول/جداول معين/معينة
exp <user/password> file=<out_put> tables=<table1 table2 ..> log=<logfile_name>
لإستيراد النظام كاملا
imp system/<password> file=<dump_file_name> full=y log=<logfile_name>
لإستيراد مستخدم معين من تصدير كامل للقاعدة
imp system/<password> file=<dump_file_name> user=<username> log=<logfile_name>
إذا قمت بتصدير مستخدم وأردت إستيراد بياناته في مستخدم آخر
imp <user1/user1_password> file=<input_file> fromuser=<user1> touser=<user2> log=<logfile_name>
لأستيراد جدول/جداول معين/معينة
imp <user/password> file=<input_file> tables=<table_name table2 ...> logfile=<logfile_name>
هذا الموضوع مغلق.