Class: OpsBackups::CleanupTieredJob

Inherits:
ApplicationJob show all
Defined in:
app/jobs/ops_backups/cleanup_tiered_job.rb

Overview

Cleanup job for tiered backup policy

Instance Method Summary collapse

Instance Method Details

#perform(tag: "db_pg_full") ⇒ void

This method returns an undefined value.

Examples:

Tasks::CleanupTiered.perform_now(tag: “db_pg_full”)

Parameters:

  • tag (String) (defaults to: "db_pg_full")


11
12
13
# File 'app/jobs/ops_backups/cleanup_tiered_job.rb', line 11

def perform(tag: "db_pg_full")
  OpsBackups::Backup.retain_tiered_cleanup_policy(tag: tag)
end