@extends('layouts.app') @section('content')
| Name | Schedule | Retention | Destination | Last Run | Next Run | Status | Actions |
|---|---|---|---|---|---|---|---|
|
{{ $policy->name }}
@if($policy->encrypt)
@endif
|
{{ ucfirst($policy->schedule_type) }} | {{ $policy->retention_days }} days | @if($policy->destination_id) Dest #{{ $policy->destination_id }} @else Default @endif | {{ $policy->last_run_at ? \Carbon\Carbon::parse($policy->last_run_at)->diffForHumans() : 'Never' }} | @if($policy->next_run_at) {{ \Carbon\Carbon::parse($policy->next_run_at)->diffForHumans() }} @else — @endif | @if($policy->enabled) Enabled @else Disabled @endif |
|
| No backup policies configured. Add your first scheduled backup policy. | |||||||
Add this to your crontab to enable scheduled backups:
This runs the backup scheduler every minute. Policies will only execute when their next_run_at time is reached.
Add this to your crontab to enable automatic replication to secondary PBX (41.221.10.110):
This runs replication every night at 01:00 AM. Adjust the schedule as needed.