Admin Panel
Admin Panel: SyncOverview
The admin page at /admin/server-sync provides a complete overview and management of all sync pairs.
Access: Root admins only.
Pairs Table
| Column | Description |
|---|---|
| Sync Pair | Server pair with direction icon (e.g., "ServerA → ServerB") |
| Scope | Full / Paths (badge) |
| Sync Mode | Live (green) / On Restart (orange) |
| Interval | e.g., "60 min" |
| Enabled | Enabled/Disabled |
| Last Sync | Timestamp (e.g., "5 minutes ago") |
| Status | success (green) / failed (red) / running (orange) / pending (gray) |
Auto-Refresh: Every 30 seconds. Filter: Status (Success, Failed, Running, Pending).
Actions
Sync Now
Starts a manual synchronization as a queue job. Checks if a sync is already running first.
Create Pair
Modal with forms for:
- Main Server and Sub Server (searchable selects)
- Direction, scope, sync mode
- Sync paths and exclude paths (TagsInput)
- File Browser (collapsible section)
- Interval and enabled status
Validation: Checks for duplicates, same egg (if configured), server limits.
Edit Pair
Identical to Create, but pre-filled with the current pair settings.
Delete Pair
With confirmation. Cascading delete removes associated sync logs.
Create Sync Schedule
Creates a schedule with 3 tasks:
- Stop server (power stop)
- Execute sync (server_sync)
- Start server (power start)
Optional with schedule mirroring to the partner server.
Logs Table
| Column | Description |
|---|---|
| Sync Pair | Server pair name |
| Direction | Executed direction |
| Status | success / failed / running / partial |
| Summary | Summary (files, size, duration) |
| Synced At | Timestamp |
Auto-Refresh: Every 15 seconds. Detail View: Modal with full log details.
File Browser
The File Browser enables visual selection of exclude paths:
- Navigable directory structure
- Checkboxes for individual files and folders
- "Exclude this folder" button
- File size display
- 2-column layout, searchable