Modèle:SQWareProduction sqwora RmanClone.ksh presentation

De WikiFr_dbSQWare
Révision datée du 14 avril 2019 à 18:05 par BatchUser (discussion | contributions) (Updated by BatchUser)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à : navigation, rechercher


Makes RMAN clone
Script is fully automatic:

  • Check space (you have to customize this function)
  • Retrieve choosed backup that can be:


- LastFull => retrieve the last full backup
- LastInc => retrieve the last incremental backup
- MaxTime => retrieve the last backup
- <tag> => retrieve this backup tag (part of file name)

  • Unregister from RMAN catalog
  • Save old password
  • Destroy old database
  • Run cloning


The script can also:

  • ignore disk warning (stop by default)
  • makes copy backup only
  • change of unix users target/source
  • choose parallel degree of backup copy
  • send email report of cloning
  • run shell script avant load
  • run shell script apres load


This script use configuration file $gvsqw_RootCfg/sqwora_Rman.cfg