Lifecycle

Lifecycle #

You can apply

Procedure #

Follow these steps to configure the Emory lifecycle before you start performing your backups.

  • Start emory settings tool by executing /opt/emory/emory as <sid>adm

  • Select Lifecycle from the main menu.

      ? Emory Cloud Backup:  [Use arrows to move, type to filter]
      Storage Providers profiles
      Data storage providers for backups & restores
      Specific Database configuration for Oracle database
      License Software
      Logging settings
      Linke Backups Dashboard
    > Backups Lifecycle
      Exit
    
  • Enable lifecycle options and configure them:

    ? Select action to perfom:  Backups Lifecycle
    ? Enable backups lifecycle? Yes
    ? Select :   [Use arrows to move, type to filter]
    > Configure Log Retention
      Configure Daily Retention
      Configure Weekly Retention
      Configure Monthly Retention
      Configure Yearly Retention
      Deactivate Lifecycle
      Return
    

Cron Expresion examples #

Some cron expresion examples that can be used:

cron expresion description
0 0 * * <n> Weekly. Set one day of week where <n> [0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday]
0 0 1 * * First Day Of Month
0 0 L * * Last Day Of Month
0 0 <n> * * Specific Day Of Month (n = day of month)
0 0 * * <wd>#1 First Week Of Month, where <wd> [0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday]
0 0 * * <wd>#2 Second Week Of Month, where <wd> [0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday]
0 0 * * <wd>#3 Third Week Of Month, where <wd> [0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday]
0 0 * * <wd>#4 Fourth Week Of Month, where <wd> [0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday]
0 0 * * <wd>#L Last Week Of Month, where <wd> [0: Sunday, 1: Monday, 2: Tuesday, 3: Wednesday, 4: Thursday, 5: Friday, 6: Saturday]
* * 1 1 * First day of the Year
* * L 12 * Last day of the Month
* * <d> <m> * Specific day of Year, where <d>: day, and <m>: month