# 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
```
