Today, we have encountered the Oracle database sequence problem. We simply need to back up and restore the entire database. As follows:
Imp/exp Method
Table mode backup:
Oracle @ sencloudserver: EXP dhoffice/dhoffice rows = y indexes = n compress = n buffer = 65536 file = dhoffice_090101.dmp log = exp_tianle_090101.log tables = David. tianle;
User Mode backup:
Oracle @ sencloudserver: EXP dhoffice/dhoffice owner = David rows = y indexes = n compress = n buffer = 65536 file = dhoffice _ 090101.dmp log = exp_david _090101.log;
Full mode backup:
Oracle @ sencloudserver: EXP dhoffice/dhoffice rows = y indexes = n compress = n buffer = 65536 full = y file = dhoffice_fulldatabase_090101.dmp log = exp_fulldatabase_090101.log;
Table mode recovery:
Oracle @ sencloudserver: IMP dhoffice/dhoffice fromuser = David touser = David rows = y indexes = n commit = y buffer = 65536 file = exp_tianle_090101.dmp log = imp_tianle_090101.log;
User Mode recovery:
Oracle @ sencloudserver: IMP dhoffice/dhoffice fromuser = David touser = David rows = y indexes = n commit = y buffer = 65536 file = exp_tianle_090101.dmp log = exp_tianle_090101.log;
Full database mode recovery:
Oracle @ sencloudserver: IMP dhoffice/dhoffice rows = y indexes = n commit = y full = y ignore = y buffer = 65536 file =/tmp/exp_fulldatabase_090101.dmp log =/tmp/imp. log;
RMAN Method
There is no time to write this part of the script. Wait until there is time to complete it. Write down it first.