@extends('layouts.app') @section('content')
| Name | Frequency | Time | Contents | Keep | Next run | Last run | Status | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $p->name }} | {{ ucfirst($p->schedule_type) }} | {{ $p->schedule_expression ?: '02:00' }} | {{ in_array('cdr', $pScope) ? 'Full' : 'Configuration' }} | {{ $p->retention_days }}d | {{ $p->next_run_at ? \Carbon\Carbon::parse($p->next_run_at)->format('M d, H:i') : '—' }} | {{ $p->last_run_at ? \Carbon\Carbon::parse($p->last_run_at)->diffForHumans() : 'Never' }} | @if($p->enabled) Enabled @else Paused @endif |
| Name | Type | Status | Size | Created | Verified | Actions |
|---|---|---|---|---|---|---|
|
{{ $backup->name }}
@if($backup->type === 'snapshot')
Snapshot
@endif
@if($backup->destination_id)
Dest: {{ $backup->destination_id }}
@endif
|
{{ ucfirst($backup->type) }} @if($backup->encrypted) @endif | @if($backup->status === 'completed') Completed @elseif($backup->status === 'running') Running @elseif($backup->status === 'failed') Failed @else {{ ucfirst($backup->status) }} @endif | {{ number_format($backup->size_bytes / 1024 / 1024, 2) }} MB | {{ \Carbon\Carbon::parse($backup->created_at)->format('M d, H:i') }} | @if($backup->verified) Verified @else Pending @endif | |
| No backups found. Create your first backup to get started. | ||||||
| Snapshot Name | Context | Created | Actions |
|---|---|---|---|
|
{{ $snapshot->name }}
@php
$details = json_decode(DB::table('backup_audit_log')
->where('backup_job_id', $snapshot->id)
->where('action', 'snapshot_created')
->value('details'), true);
@endphp
@if($details)
Context: {{ $details['context'] ?? 'N/A' }}
@endif
|
@if(isset($details['context'])) {{ ucfirst($details['context']) }} @endif | {{ \Carbon\Carbon::parse($snapshot->created_at)->format('M d, H:i:s') }} | |
| No snapshots found. Snapshots are automatically created before configuration changes. | |||