Backup3G/DA-Oracle/User Guide/Defining Oracle Backups
This page was last modified 08:01, 3 September 2007.From Documentation
Revision as of 05:06, 12 April 2006 Daniels (Talk | contribs) (→Notes) ← Previous diff |
Current revision Moff (Talk | contribs) (→How to Define a Backup Item) |
||
Line 2: | Line 2: | ||
*you define a backup item for each data object to be backed up | *you define a backup item for each data object to be backed up | ||
*you define backup jobs to back up one or more items at the scheduled time to a particular drive or drive pool | *you define backup jobs to back up one or more items at the scheduled time to a particular drive or drive pool | ||
+ | |||
The main differences are: | The main differences are: | ||
Line 7: | Line 8: | ||
*the data object refers to an Oracle SID and not to a filesystem or directory | *the data object refers to an Oracle SID and not to a filesystem or directory | ||
- | Note DA-Oracle does not support the Oracle Parallel Server option. | + | :{{Note|DA-Oracle does not support the Oracle Parallel Server option.}} |
+ | |||
+ | This section describes the ways you can back up Oracle databases, the Oracle-specific backup methods, and how to define backup items. Defining, scheduling, and monitoring backup jobs is described in the [[backup3G]] User Guide. | ||
- | This section describes the ways you can back up Oracle databases, the Oracle-specific backup methods, and how to define backup items. Defining, scheduling, and monitoring backup jobs is described in the [[COSbackup]] User Guide. | ||
== Types of Oracle Backup == | == Types of Oracle Backup == | ||
- | This topic describes the different methods for backing up Oracle databases. Oracle Backup uses Oracle facilities other than RMAN to start up and shut down databases, and to find the names of objects to be backed up. Once the file names have been obtained, they are backed up the same as any other files using standard [[COSbackup]] facilities. | ||
- | <strong>What happens if a step fails</strong> | + | This topic describes the different methods for backing up Oracle databases. |
+ | |||
+ | Oracle Backup uses Oracle facilities other than RMAN to start up and shut down databases, and to find the names of objects to be backed up. Once the file names have been obtained, they are backed up the same as any other files using standard [[backup3G]] facilities. | ||
+ | |||
+ | |||
+ | '''What happens if a step fails''' | ||
If any step in the backup job returns a non-zero exit status, the backup job terminates. | If any step in the backup job returns a non-zero exit status, the backup job terminates. | ||
In this event DA-Oracle does not try to change the database mode or attempt any other recovery action. | In this event DA-Oracle does not try to change the database mode or attempt any other recovery action. | ||
+ | |||
You should diagnose the problem to see whether it occurred in an Oracle operation or a backup command, then if possible fix the problem and resubmit the backup job. | You should diagnose the problem to see whether it occurred in an Oracle operation or a backup command, then if possible fix the problem and resubmit the backup job. | ||
Line 26: | Line 33: | ||
The DBA should examine the reason for failure and the type of object in the successful backup steps to see whether they can be usefully recovered. | The DBA should examine the reason for failure and the type of object in the successful backup steps to see whether they can be usefully recovered. | ||
- | <strong>Two versions of Oracle installed on a host</strong> | + | |
+ | '''Two versions of Oracle installed on a host''' | ||
The default Oracle version for a host is determined from the Oracle user name specified when DA-Oracle was installed (see Configuring DA-Oracle on page 11). To create a backup item for a database in a non-default copy of Oracle, you specify the | The default Oracle version for a host is determined from the Oracle user name specified when DA-Oracle was installed (see Configuring DA-Oracle on page 11). To create a backup item for a database in a non-default copy of Oracle, you specify the | ||
other Oracle user name in the Options field of the backup item. | other Oracle user name in the Options field of the backup item. | ||
+ | |||
=== Offline (‘Cold’) Backup === | === Offline (‘Cold’) Backup === | ||
- | Backup method: Oracle offline | + | {| border="1" cellpadding="8" cellspacing="0" |
- | Backup command: ORAofflne | + | |- |
+ | |Backup method | ||
+ | |Oracle offline | ||
+ | |- | ||
+ | |Backup command | ||
+ | |ORAofflne | ||
+ | |} | ||
+ | |||
+ | |||
+ | '''Steps''' | ||
- | COSbackup performs the following steps when you back up a database using the ‘Oracle offline’ method. | + | backup3G performs the following steps when you back up a database using the ‘Oracle offline’ method. |
#Shut down the database. | #Shut down the database. | ||
#Bring the database back in a restricted mode. | #Bring the database back in a restricted mode. | ||
Line 44: | Line 62: | ||
#Restart the database. | #Restart the database. | ||
- | ==== Notes ==== | + | |
- | The tablespaces are backed up using a multi-part image. The control files and the redo logs are backed up using cpio. ORAofflne follows symbolic links—that is, it backs up the target of any link, not just the link itself. If the database is online when the backup job starts, DA-Oracle will try to shut it down. If the database cannot be shut down or restarted in restricted mode, the | + | '''Notes''' |
+ | |||
+ | The tablespaces are backed up using a multi-part image. The control files and the redo logs are backed up using cpio. ORAofflne follows symbolic links—that is, it backs up the target of any link, not just the link itself. | ||
+ | |||
+ | If the database is online when the backup job starts, DA-Oracle will try to shut it down. If the database cannot be shut down or restarted in restricted mode, the | ||
backup job will exit. | backup job will exit. | ||
By default, DA-Oracle will bring the database back online after an offline backup ends. You can override this in the backup item definition by specifying -d in the Options field. | By default, DA-Oracle will bring the database back online after an offline backup ends. You can override this in the backup item definition by specifying -d in the Options field. | ||
+ | |||
+ | <br> | ||
=== Online (‘Hot’) Backup === | === Online (‘Hot’) Backup === | ||
- | Backup method: Oracle online | + | {| border="1" cellpadding="8" cellspacing="0" |
- | Backup command: ORAonline | + | |- |
+ | |Backup method | ||
+ | |Oracle online | ||
+ | |- | ||
+ | |Backup command | ||
+ | |ORAonline | ||
+ | |} | ||
+ | |||
+ | |||
+ | '''Steps''' | ||
- | COSbackup performs the following steps when you back up a database or selected tablespaces using the ‘Oracle online’ method. | + | backup3G performs the following steps when you back up a database or selected tablespaces using the ‘Oracle online’ method. |
#Query the database to find the relevant files (control files, archive logs and tablespaces) and store their locations in a COSmanager table. | #Query the database to find the relevant files (control files, archive logs and tablespaces) and store their locations in a COSmanager table. | ||
#Put the tablespace into backup mode. | #Put the tablespace into backup mode. | ||
Line 65: | Line 98: | ||
#Back up the control file to a disk file, then back up to tape. | #Back up the control file to a disk file, then back up to tape. | ||
- | ==== Notes ==== | + | |
+ | '''Notes''' | ||
+ | |||
The database must be run in ARCHIVELOG mode and must be online when the backup job starts. If the database is offline or if DA-Oracle can’t find the location of the relevant files, the backup job will exit. | The database must be run in ARCHIVELOG mode and must be online when the backup job starts. If the database is offline or if DA-Oracle can’t find the location of the relevant files, the backup job will exit. | ||
Line 72: | Line 107: | ||
The tablespaces are backed up using a multi-part image. The control files and the redo logs are backed up using cpio. ORAofflne follows symbolic links—that is, it backs up the target of any link, not just the link itself. | The tablespaces are backed up using a multi-part image. The control files and the redo logs are backed up using cpio. ORAofflne follows symbolic links—that is, it backs up the target of any link, not just the link itself. | ||
- | === Archive === | + | <br> |
- | Backup method: Oracle archive | + | === Archive Log Backup === |
- | Backup command: ORAarch | + | |
+ | {| border="1" cellpadding="8" cellspacing="0" | ||
+ | |- | ||
+ | |Backup method | ||
+ | |Oracle archive | ||
+ | |- | ||
+ | |Backup command | ||
+ | |ORAarch | ||
+ | |} | ||
+ | |||
+ | |||
+ | '''Steps''' | ||
#Query the database to find the redo log files and archive destination. | #Query the database to find the redo log files and archive destination. | ||
Line 81: | Line 127: | ||
#Back up the archived redo logs. | #Back up the archived redo logs. | ||
- | ==== Notes ==== | + | |
+ | '''Notes''' | ||
+ | |||
This should be performed frequently (several times per day or hour) from an automatic backup job. | This should be performed frequently (several times per day or hour) from an automatic backup job. | ||
+ | |||
We recommend that you append each days backups to a single media set, to make restores faster and to use tapes more efficiently. | We recommend that you append each days backups to a single media set, to make restores faster and to use tapes more efficiently. | ||
+ | |||
The backup is written in cpio format, so you can restore files from the command line using cpio if necessary. | The backup is written in cpio format, so you can restore files from the command line using cpio if necessary. | ||
+ | |||
The database must be online when the backup job starts. | The database must be online when the backup job starts. | ||
+ | |||
If the redo log files can’t be found (for example if they have already been compressed or removed) the backup job will return exit status 2 and terminate. | If the redo log files can’t be found (for example if they have already been compressed or removed) the backup job will return exit status 2 and terminate. | ||
- | === Export === | + | <br> |
- | Oracle supports three ‘full database’ export modes: complete, cumulative, and incremental. | + | |
- | DA-Oracle supports two of these modes: complete and cumulative. | + | === Export Backup === |
- | ==== Notes ==== | + | Oracle supports three ‘full database’ export modes: complete, cumulative, and incremental. DA-Oracle supports two of these modes: complete and cumulative. |
- | The database must be online when the backup job starts. | + | |
- | All exports are first written to a temporary file, then this file is backed up using an ‘image’ method. | ||
- | (| | + | {| border="1" cellpadding="6" cellspacing="0" |
+ | |+'''Table 1 - Oracle export modes and DA-Oracle backup methods''' | ||
|- | |- | ||
- | |Oracle export mode | + | !Oracle export mode |
- | |What tables are exported | + | !What tables are exported |
- | |DA-Oracle backupmethod | + | !DA-Oracle backup method |
|- | |- | ||
|rowspan=3|Complete | |rowspan=3|Complete | ||
Line 110: | Line 160: | ||
|Tables owned by specified users | |Tables owned by specified users | ||
|Oracle selected exp | |Oracle selected exp | ||
- | |-A list of specified tables | + | |- |
+ | |A list of specified tables | ||
|Oracle selected exp | |Oracle selected exp | ||
+ | |- | ||
+ | |Cumulative | ||
+ | |Only tables that have changed since the last Cumulative or Complete export | ||
+ | |Oracle incr export | ||
+ | |- | ||
+ | |Incremental | ||
+ | |Only tables that have changed since the last Incremental or Cumulative or Complete export | ||
+ | |''(not supported in DA-Oracle)'' | ||
|} | |} | ||
- | Cumulative Only tables that have changed since | + | |
- | the last Cumulative or Complete | + | |
- | export | + | '''Notes''' |
- | Oracle incr export | + | |
- | Incremental Only tables that have changed since | + | The database must be online when the backup job starts. |
- | the last Incremental or Cumulative | + | |
- | or Complete export | + | All exports are first written to a temporary file, then this file is backed up using an ‘image’ method. |
- | (not supported in | + | |
- | DA-Oracle) | + | <br> |
- | Defining Oracle Backups 21 | + | |
- | Defining Oracle Backups | + | == Defining Oracle Backups == |
- | You must define a backup item for each type of backup that you want to perform on | + | |
- | a database instance. For example, if the monthly cycle of backups for a particular | + | You must define a backup item for each type of backup that you want to perform on a database instance. For example, if the monthly cycle of backups for a particular database includes online and offline backups, backups of archived redo log files, and a complete export, you will need to define four backup items. |
- | database includes online and offline backups, backups of archived redo log files, and | + | |
- | a complete export, you will need to define four backup items. | + | Once you have defined all your backup items, you must define a set of backup jobs to back up these items at the scheduled times. See How to Define a Backup Job in the [[backup3G]] User Guide. |
- | Once you have defined all your backup items, you must define a set of backup jobs | + | |
- | to back up these items at the scheduled times. See How to Define a Backup Job in the | + | <br> |
- | COSbackup User Guide. | + | === How to Define a Backup Item === |
- | How to Define a Backup Item | + | |
- | A backup item describes the ‘what’ and ‘how’ of a backup. It identifies the host name | + | A backup item describes the ‘what’ and ‘how’ of a backup. It identifies the host name and Oracle SID, and the method that will be used to back it up. |
- | and Oracle SID, and the method that will be used to back it up. | + | |
How you specify the exact Oracle object to be backed up depends on the backup | How you specify the exact Oracle object to be backed up depends on the backup | ||
method. | method. | ||
- | Each backup method calls a driver script to back up the data. Table 2 shows the | + | |
- | backup command and other attributes for each Oracle backup method. | + | Each backup method calls a driver script to back up the data. Table 2 shows the backup command and other attributes for each Oracle backup method. |
- | Table 2 — Oracle backup methods | + | |
- | Oracle Data Object Method Name Format Driver Script Index? | + | |
- | Full SID (offline backup) Oracle offline oracle ORAofflne no | + | {| border="1" cellpadding="6" cellspacing="0" |
- | Full SID (online backup) Oracle online oracle ORAonline no | + | |+'''Table 2 - Oracle backup methods''' |
- | Archive logs Oracle archive cpio ORAarch yes | + | |- |
- | Database (complete export) Oracle full export image ORAexport no | + | !Oracle Data Object |
- | Database (cumulative export) Oracle incr export image ORAexport no | + | !Method Name |
- | Specified tables or owners (export) Oracle selected exp image ORAexport no | + | !Format |
- | 22 Defining Oracle Backups | + | !Driver Script |
- | You can use the Options field to pass extra flags and arguments to the backup | + | !Index? |
- | command. To see what options are supported by each method, check the man page | + | |- |
- | for that driver script (see Appendix A—Command Reference). | + | |Full SID (offline backup) |
- | Example: the options for the ‘Oracle method’ are described in ORAarch(1). | + | |Oracle offline |
- | Note that these options are not validated when you define the backup item, but are | + | |oracle |
- | simply passed to the backup command to be evaluated at run time. | + | |ORAofflne |
- | To define a backup item | + | |no |
- | 1. Select COSbackup configuration > Maintain backup jobs. | + | |- |
- | 2. Select Items > Maintain to display the list of existing backup items, | + | |Full SID (online backup) |
- | then select Maintain > Add. | + | |Oracle online |
- | Figure 8 — Adding a backup item | + | |oracle |
- | Item Defaults to one more than the current highest item number. You | + | |ORAonline |
- | can change it to any unused item number, but it is recommended | + | |no |
- | that you accept the default. | + | |- |
- | Object Enter the SID of the instance to be backed up. Make sure that it is | + | |Archive logs |
- | correct, as COSbackup doesn’t check that it exists at this point. | + | |Oracle archive |
- | Defining Oracle Backups 23 | + | |cpio |
- | Host Select the host on which the database is stored. If you want to back | + | |ORAarch |
- | up the same database on multiple hosts, you must define a separate | + | |yes |
- | backup item for each. | + | |- |
- | Method Press Choose to list the backup methods. The Oracle backup | + | |Database (complete export) |
- | methods are described in detail in Types of Oracle Backup on page 16. | + | |Oracle full export |
- | Index Select ‘yes’ if you chose the ‘Oracle archive’ method. An online | + | |image |
- | index makes it easier to select particular archived redo logs to be | + | |ORAexport |
- | restored. | + | |no |
- | Options Enter any optional flags and arguments to be passed to the backup | + | |- |
- | command at run time. For example, enter -u username to | + | |Database (cumulative export) |
- | specify another Oracle version if more than one copy of Oracle is | + | |Oracle incr export |
- | installed on this host. | + | |image |
- | You can see what other options this backup method supports by | + | |ORAexport |
- | checking the man page for the corresponding backup driver script. | + | |no |
- | Table 2 on page 21 shows what driver script is run by each Oracle | + | |- |
- | backup method. | + | |Specified tables or owners (export) |
- | Note Use double quotes around file patterns to ensure that they are parsed | + | |Oracle selected exp |
- | correctly. | + | |image |
- | Comment Enter a descriptive comment. | + | |ORAexport |
- | On error Should the backup job continue if this step fails? Select ‘continue’ | + | |no |
- | if the job should continue after an error in this step. Select ‘abort’ | + | |} |
- | if the job should not continue. | + | |
- | Press Accept to save this item. | + | |
+ | You can use the Options field to pass extra flags and arguments to the backup command. To see what options are supported by each method, check the man page for that driver script. | ||
+ | |||
+ | Note that these options are not validated when you define the backup item, but are simply passed to the backup command to be evaluated at run time. | ||
+ | |||
+ | |||
+ | '''To define a backup item''' | ||
+ | |||
+ | #Select backup3G configuration > Maintain backup jobs. | ||
+ | #Select Items > Maintain to display the list of existing backup items, then select Maintain > Add. | ||
+ | #;Item:Defaults to one more than the current highest item number. You can change it to any unused item number, but it is recommended that you accept the default. | ||
+ | #;Object:Enter the SID of the instance to be backed up. Make sure that it is correct, as backup3G doesn’t check that it exists at this point. | ||
+ | #;Host:Select the host on which the database is stored. If you want to back up the same database on multiple hosts, you must define a separate backup item for each. | ||
+ | #;Method:Press Choose to list the backup methods. | ||
+ | #;Index:Select ‘yes’ if you chose the ‘Oracle archive’ method. An onlineindex makes it easier to select particular archived redo logs to be restored. | ||
+ | #;Options:Enter any optional flags and arguments to be passed to the backup command at run time. For example, enter -u username to specify another Oracle version if more than one copy of Oracle is installed on this host. | ||
+ | #;:You can see what other options this backup method supports by checking the man page for the corresponding backup driver script. [[#How to Define a Backup Item|Table 2]] shows what driver script is run by each Oracle backup method. | ||
+ | #;:'''Note -''' Use double quotes around file patterns to ensure that they are parsed correctly. | ||
+ | #;Comment:Enter a descriptive comment. | ||
+ | #;On error:Should the backup job continue if this step fails? | ||
+ | #Select ‘continue’ if the job should continue after an error in this step. | ||
+ | #Select ‘abort’ if the job should not continue. | ||
+ | #Press Accept to save this item. | ||
+ | |||
+ | |||
+ | ---- | ||
+ | Copyright © 1997-{{CURRENTYEAR}} Functional Software. All rights reserved. | ||
+ | |||
+ | {| cellpadding="10" cellspacing="5" | ||
+ | |- | ||
+ | |[[Backup3G/DA-Oracle/User Guide/Installing and Configuring|Previous Section]] | ||
+ | | | ||
+ | |[[Backup3G/DA-Oracle/User Guide/Searching and Restoring Oracle Backups|Next Section]] | ||
+ | |} |
Current revision
Oracle backups are configured the same as other backup jobs:
- you define a backup item for each data object to be backed up
- you define backup jobs to back up one or more items at the scheduled time to a particular drive or drive pool
The main differences are:
- in the backup item you use an Oracle-specific backup method instead of one of the standard UNIX methods
- the data object refers to an Oracle SID and not to a filesystem or directory
Note | |
DA-Oracle does not support the Oracle Parallel Server option. |
This section describes the ways you can back up Oracle databases, the Oracle-specific backup methods, and how to define backup items. Defining, scheduling, and monitoring backup jobs is described in the backup3G User Guide.
Contents |
Types of Oracle Backup
This topic describes the different methods for backing up Oracle databases.
Oracle Backup uses Oracle facilities other than RMAN to start up and shut down databases, and to find the names of objects to be backed up. Once the file names have been obtained, they are backed up the same as any other files using standard backup3G facilities.
What happens if a step fails
If any step in the backup job returns a non-zero exit status, the backup job terminates. In this event DA-Oracle does not try to change the database mode or attempt any other recovery action.
You should diagnose the problem to see whether it occurred in an Oracle operation or a backup command, then if possible fix the problem and resubmit the backup job.
‘Exit status 2’ usually indicates a usage error in the backup command, such as an unrecognized option or an incorrect number of arguments. Other exit statuses are dependent on the backup method—check the manual page for the command that reported the error.
Any previous steps that wrote to the tape and completed successfully may be restored from, but depending on the type of backup may not be worth recovering.
The DBA should examine the reason for failure and the type of object in the successful backup steps to see whether they can be usefully recovered.
Two versions of Oracle installed on a host
The default Oracle version for a host is determined from the Oracle user name specified when DA-Oracle was installed (see Configuring DA-Oracle on page 11). To create a backup item for a database in a non-default copy of Oracle, you specify the other Oracle user name in the Options field of the backup item.
Offline (‘Cold’) Backup
Backup method | Oracle offline |
Backup command | ORAofflne |
Steps
backup3G performs the following steps when you back up a database using the ‘Oracle offline’ method.
- Shut down the database.
- Bring the database back in a restricted mode.
- Query the database to find the relevant files (control files, redo logs and tablespaces) and store their locations in a COSmanager table.
- Shut down the database.
- Back up files.
- Restart the database.
Notes
The tablespaces are backed up using a multi-part image. The control files and the redo logs are backed up using cpio. ORAofflne follows symbolic links—that is, it backs up the target of any link, not just the link itself.
If the database is online when the backup job starts, DA-Oracle will try to shut it down. If the database cannot be shut down or restarted in restricted mode, the backup job will exit.
By default, DA-Oracle will bring the database back online after an offline backup ends. You can override this in the backup item definition by specifying -d in the Options field.
Online (‘Hot’) Backup
Backup method | Oracle online |
Backup command | ORAonline |
Steps
backup3G performs the following steps when you back up a database or selected tablespaces using the ‘Oracle online’ method.
- Query the database to find the relevant files (control files, archive logs and tablespaces) and store their locations in a COSmanager table.
- Put the tablespace into backup mode.
- Back up the tablespace.
- Bring the tablespace back online.
- Repeat steps 2 to 4 for each tablespace.
- Switch the redo log files to close the backup (as far as Oracle is concerned).
- Back up the archived redo log files.
- Back up the control file to a disk file, then back up to tape.
Notes
The database must be run in ARCHIVELOG mode and must be online when the backup job starts. If the database is offline or if DA-Oracle can’t find the location of the relevant files, the backup job will exit.
This provides a complete snapshot of the database or selected tablespaces at the completion of the backup (not the start). Only one tablespace is taken offline and backed up at a time.
The tablespaces are backed up using a multi-part image. The control files and the redo logs are backed up using cpio. ORAofflne follows symbolic links—that is, it backs up the target of any link, not just the link itself.
Archive Log Backup
Backup method | Oracle archive |
Backup command | ORAarch |
Steps
- Query the database to find the redo log files and archive destination.
- Switch the redo log files to close the backup (as far as Oracle is concerned).
- Back up the archived redo logs.
Notes
This should be performed frequently (several times per day or hour) from an automatic backup job.
We recommend that you append each days backups to a single media set, to make restores faster and to use tapes more efficiently.
The backup is written in cpio format, so you can restore files from the command line using cpio if necessary.
The database must be online when the backup job starts.
If the redo log files can’t be found (for example if they have already been compressed or removed) the backup job will return exit status 2 and terminate.
Export Backup
Oracle supports three ‘full database’ export modes: complete, cumulative, and incremental. DA-Oracle supports two of these modes: complete and cumulative.
Oracle export mode | What tables are exported | DA-Oracle backup method |
---|---|---|
Complete | All tables in the database | Oracle full export |
Tables owned by specified users | Oracle selected exp | |
A list of specified tables | Oracle selected exp | |
Cumulative | Only tables that have changed since the last Cumulative or Complete export | Oracle incr export |
Incremental | Only tables that have changed since the last Incremental or Cumulative or Complete export | (not supported in DA-Oracle) |
Notes
The database must be online when the backup job starts.
All exports are first written to a temporary file, then this file is backed up using an ‘image’ method.
Defining Oracle Backups
You must define a backup item for each type of backup that you want to perform on a database instance. For example, if the monthly cycle of backups for a particular database includes online and offline backups, backups of archived redo log files, and a complete export, you will need to define four backup items.
Once you have defined all your backup items, you must define a set of backup jobs to back up these items at the scheduled times. See How to Define a Backup Job in the backup3G User Guide.
How to Define a Backup Item
A backup item describes the ‘what’ and ‘how’ of a backup. It identifies the host name and Oracle SID, and the method that will be used to back it up.
How you specify the exact Oracle object to be backed up depends on the backup method.
Each backup method calls a driver script to back up the data. Table 2 shows the backup command and other attributes for each Oracle backup method.
Oracle Data Object | Method Name | Format | Driver Script | Index? |
---|---|---|---|---|
Full SID (offline backup) | Oracle offline | oracle | ORAofflne | no |
Full SID (online backup) | Oracle online | oracle | ORAonline | no |
Archive logs | Oracle archive | cpio | ORAarch | yes |
Database (complete export) | Oracle full export | image | ORAexport | no |
Database (cumulative export) | Oracle incr export | image | ORAexport | no |
Specified tables or owners (export) | Oracle selected exp | image | ORAexport | no |
You can use the Options field to pass extra flags and arguments to the backup command. To see what options are supported by each method, check the man page for that driver script.
Note that these options are not validated when you define the backup item, but are simply passed to the backup command to be evaluated at run time.
To define a backup item
- Select backup3G configuration > Maintain backup jobs.
- Select Items > Maintain to display the list of existing backup items, then select Maintain > Add.
- Item
- Defaults to one more than the current highest item number. You can change it to any unused item number, but it is recommended that you accept the default.
- Object
- Enter the SID of the instance to be backed up. Make sure that it is correct, as backup3G doesn’t check that it exists at this point.
- Host
- Select the host on which the database is stored. If you want to back up the same database on multiple hosts, you must define a separate backup item for each.
- Method
- Press Choose to list the backup methods.
- Index
- Select ‘yes’ if you chose the ‘Oracle archive’ method. An onlineindex makes it easier to select particular archived redo logs to be restored.
- Options
- Enter any optional flags and arguments to be passed to the backup command at run time. For example, enter -u username to specify another Oracle version if more than one copy of Oracle is installed on this host.
- You can see what other options this backup method supports by checking the man page for the corresponding backup driver script. Table 2 shows what driver script is run by each Oracle backup method.
- Note - Use double quotes around file patterns to ensure that they are parsed correctly.
- Comment
- Enter a descriptive comment.
- On error
- Should the backup job continue if this step fails?
- Select ‘continue’ if the job should continue after an error in this step.
- Select ‘abort’ if the job should not continue.
- Press Accept to save this item.
Copyright © 1997-2024 Functional Software. All rights reserved.
Previous Section | Next Section |