> For the complete documentation index, see [llms.txt](https://dbi-services.gitbook.io/yak-user-doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dbi-services.gitbook.io/yak-user-doc/manage-components/component-types/component-template/description.md).

# Description

Congratulations !\
You are now the proud owner of the YaK Oracle component type.\
Here is what it brings you :

## Sub-component types

The YaK supports both types of deployment of your Oracle component type:

<details>

<summary>Standalone</summary>

* This sub-component type allows to perform a deployment of an Oracle standalone instance.

</details>

<details>

<summary>Data Guard (Will come with a future release of the component)</summary>

* This sub-component type allows to perform a deployment of an Oracle instance protected by Data Guard, including Data Guard Broker and Data Guard Observer.

</details>

## Backup

The deployment of an Oracle component with the YaK automatically configures tree kinds of backups of the Oracle instance :

* Full backup (incremental - level 0)
* Differential backup (incremental - level 1 )
* Archive Logs backup

In addition, obsolete backups are automatically deleted.

Backup jobs are scheduled from the crontab of the `oracle` OS user.

Example:

```sh
oracle@srv-ora-01:~/ [CDB01] crontab -l
#Ansible: CDB01 - Weekly inc0 backup
0 22 * * 0 /u01/app/oracle/local/dmk_ha/bin/check_primary.ksh CDB01 /u01/app/oracle/local/dmk_dbbackup/bin/dmk_rman.ksh -s CDB01 -t bck_inc0_no_arc_del_blck_chg_trk.rcv
#Ansible: CDB01 - Daily  inc1 backup
0 22 * * 1-6 /u01/app/oracle/local/dmk_ha/bin/check_primary.ksh CDB01 /u01/app/oracle/local/dmk_dbbackup/bin/dmk_rman.ksh -s CDB01 -t bck_inc1_no_arc_del_blck_chg_trk.rcv
#Ansible: CDB01 - Archive log backup
0 */2 * * * /u01/app/oracle/local/dmk_ha/bin/check_primary.ksh CDB01 /u01/app/oracle/local/dmk_dbbackup/bin/dmk_rman.ksh -s CDB01 -t bck_arc_fra.rcv
#Ansible: CDB01 - Manage obsoletes
0 01 * * * /u01/app/oracle/local/dmk_ha/bin/check_primary.ksh CDB01 /u01/app/oracle/local/dmk_dbbackup/bin/dmk_rman.ksh -s CDB01 -t mnt_obs.rcv
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://dbi-services.gitbook.io/yak-user-doc/manage-components/component-types/component-template/description.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
