Solved

Incremental or cumulative Export backup Oracle

Posted on 2011-09-04
4
844 Views
Last Modified: 2012-05-12
Hi Experts
Which backup type I should use (incremental  or  complete or  cumulative) for the following case?
For instance I have oracle database with 10 tables no changes will happened to this tables except only one table data only will be grown in daily basis.
What shall I select incremental or cumulative if I want to export only the data changed?
With example please?However I did the following script to make full export once daily

exp \"/@test1 as sysdba\" FILE=e:\jtest\test1.dmp LOG=e:\jtest\test1INCR.log FULL=Y ROWS=Y COMPRESS=Y STATISTICS=NONE DIRECT=Y RECORDLENGTH=65535 INCTYPE=COMPLETE

Now I need to know how to perform either cumulative or incremental backup. Please with example?
0
Comment
Question by:Haidar1
4 Comments
 
LVL 7

Accepted Solution

by:
MrNed earned 200 total points
ID: 36482185
You have to use RMAN to use incremental backups. Cumulative or Differential backups are types of incremental backups - ie they both back up data that has changed. The difference being Cumulative takes all changes since the last full backup while Differential takes all changes since the last incremental backup. What you need depends on how much data is changing, but most importantly how long you can afford to wait to perform a restore.

NOTE that using exp is not usable by RMAN's incremental backup schemes. You have to take a level 0 backup via RMAN first.

Sorry but I'm not providing an example, I really really think you should read the doco and write your own code to understand this perfectly: http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmquick.htm#BRADV89353
0
 
LVL 7

Assisted Solution

by:Docteur_Z
Docteur_Z earned 200 total points
ID: 36484991
Remember export is NOT a BACKUP !

exp utility's INCTYPE parameter :
Specifies the type of incremental export. Options are COMPLETE, CUMULATIVE, and INCREMENTAL.

I never tried that thing, but look at http://www.orafaq.com/wiki/Export
I'm not sure exp with INCTYPE really fits your needs.
0
 
LVL 76

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 100 total points
ID: 36488502
>>Remember export is NOT a BACKUP !

It can be in certain situations.



It also appears INCTYPE is obsolete as far back as 9i.

What version of Oracle are you running?

>>Now I need to know how to perform either cumulative or incremental backup. Please with example?
 
What type of 'backup' you need is determined by your specific situation and recovery requirements.

For example:  Using EXP as a 'backup' means you will need to create a new database, users, etc...  then IMP the data back in.

0
 

Author Closing Comment

by:Haidar1
ID: 36489637
I will implement RMAN to do my backup.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now