Logo

Command Palette

Search for a command to run...

backup.verification.failed

Triggered when backup verification fails, indicating the backup may be corrupted or incomplete

This webhook is sent when backup verification fails, indicating the backup may be corrupted or incomplete. The payload includes stack information, backup details, and verification failure information.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "backup.verification.failed",
  "stack": {
    "uid": "stack-550e8400-e29b-41d4-a716",
    "name": "my-production-app",
    "account_id": 12345,
    "git": "git@github.com:mycompany/myapp.git",
    "git_branch": "main",
    "environment": "production",
    "cloud": "aws",
    "fqdn": "myapp.example.com",
    "language": "ruby",
    "framework": "rails",
    "status": 1,
    "health": 3,
    "last_activity": "2024-02-15 14:30:00 UTC",
    "last_activity_iso": "2024-02-15T14:30:00Z",
    "maintenance_mode": false,
    "has_loadbalancer": true,
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-02-15T14:30:00Z",
    "deploy_directory": "/var/deploy/myapp",
    "cloud_status": "deployed",
    "backend": "kubernetes",
    "version": "4",
    "revision": "42",
    "is_busy": false,
    "account_name": "Production Team (team@example.com)",
    "is_cluster": false,
    "is_inside_cluster": true,
    "cluster_name": "production-cluster",
    "application_address": "https://myapp.example.com",
    "configstore_namespace": "550e8400-e29b-41d4-a716-446655440000",
    "namespaces": [
      "myapp-production",
      "myapp-staging"
    ],
    "considerations": {
      "warnings": [],
      "notices": [
        "Stack is healthy"
      ]
    },
    "redeploy_hook": "https://hooks.cloud66.com/stacks/redeploy/abc123def456"
  },
  "backup": {
    "id": 54321,
    "server_uid": "server-abc123",
    "db_type": "postgresql",
    "database_name": "myapp_production",
    "file_base": "backup_20240115_103000",
    "backup_date_iso": "2024-01-15T10:30:00Z",
    "backup_status": 0,
    "backup_result": "Backup completed successfully",
    "restore_status": 0,
    "restore_result": "Not restored",
    "created_at_iso": "2024-01-15T10:30:00Z",
    "updated_at_iso": "2024-01-15T10:35:00Z",
    "verify_status": 0,
    "verify_result": "Backup verified successfully",
    "storage_path": "/backups/postgresql/myapp_production/",
    "skip_tables": "temp_logs,cache_data",
    "backup_size": 1024000000
  }
}
Related Models:StackBackup
managed_backup.fail

Triggered when a managed backup operation fails

This webhook is sent when a managed backup operation fails. The payload includes stack information and backup failure details with error message.

Payload Example

{
  "timestamp": 1757011079,
  "event_type": "managed_backup.fail",
  "stack": {
    "uid": "stack-550e8400-e29b-41d4-a716",
    "name": "my-production-app",
    "account_id": 12345,
    "git": "git@github.com:mycompany/myapp.git",
    "git_branch": "main",
    "environment": "production",
    "cloud": "aws",
    "fqdn": "myapp.example.com",
    "language": "ruby",
    "framework": "rails",
    "status": 1,
    "health": 3,
    "last_activity": "2024-02-15 14:30:00 UTC",
    "last_activity_iso": "2024-02-15T14:30:00Z",
    "maintenance_mode": false,
    "has_loadbalancer": true,
    "created_at": "2024-01-15T10:30:00Z",
    "updated_at": "2024-02-15T14:30:00Z",
    "deploy_directory": "/var/deploy/myapp",
    "cloud_status": "deployed",
    "backend": "kubernetes",
    "version": "4",
    "revision": "42",
    "is_busy": false,
    "account_name": "Production Team (team@example.com)",
    "is_cluster": false,
    "is_inside_cluster": true,
    "cluster_name": "production-cluster",
    "application_address": "https://myapp.example.com",
    "configstore_namespace": "550e8400-e29b-41d4-a716-446655440000",
    "namespaces": [
      "myapp-production",
      "myapp-staging"
    ],
    "considerations": {
      "warnings": [],
      "notices": [
        "Stack is healthy"
      ]
    },
    "redeploy_hook": "https://hooks.cloud66.com/stacks/redeploy/abc123def456"
  },
  "backup": {
    "id": 54321,
    "server_uid": "server-abc123",
    "db_type": "postgresql",
    "database_name": "myapp_production",
    "file_base": "backup_20240115_103000",
    "backup_date_iso": "2024-01-15T10:30:00Z",
    "backup_status": 0,
    "backup_result": "Backup completed successfully",
    "restore_status": 0,
    "restore_result": "Not restored",
    "created_at_iso": "2024-01-15T10:30:00Z",
    "updated_at_iso": "2024-01-15T10:35:00Z",
    "verify_status": 0,
    "verify_result": "Backup verified successfully",
    "storage_path": "/backups/postgresql/myapp_production/",
    "skip_tables": "temp_logs,cache_data",
    "backup_size": 1024000000
  }
}
Related Models:StackBackup