Create

Create an AWS Backup vault and plan that backs up this app’s backup-capable resources on a schedule

tapit create backup name=backup_name [description='My backups'] [period=none|hourly|daily|weekly|monthly] [retention_periods=7] [vault_lock=true|false] [--ignore-existing]

Required

  • name

Parameters

  • name: Name for the backup add-on (required)
  • description: Description of the backup add-on’s purpose
  • period: Backup schedule: none (off), hourly, daily, weekly, or monthly (default: daily)
  • retention_periods: Number of periods to retain recovery points (0-1200, default: 7)
  • vault_lock: Lock recovery points in a Vault Lock so they cannot be deleted until they expire (default: false). Not available with an hourly period. Once enabled, the period, retention and lock cannot be changed.
  • --ignore-existing: Skip creation if a resource with the same name already exists (useful for idempotent scripts)