[PR #2125] Backup hosts #1773

Open
opened 2026-02-05 18:24:20 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/2125
Author: @Boy132
Created: 1/20/2026
Status: 🔄 Open

Base: mainHead: boy132/backup-hosts


📝 Commits (10+)

  • dd4e723 start backup hosts
  • ad2333e more work on backup hosts
  • 12d8b23 Merge remote-tracking branch 'origin/main' into boy132/backup-hosts
  • a181978 handle old backups and cleanup
  • 53761f8 dont allow to delete last backup host
  • efebb99 fix backup hosts for "all nodes"
  • 150f803 fix tests
  • f1dbbbb fix migration for mysql
  • 7da9d8c rabbit fixes
  • 6c8c2a0 Merge branch 'main' into boy132/backup-hosts

📊 Changes

41 files changed (+994 additions, -670 deletions)

View changed files

📝 app/Enums/RolePermissionModels.php (+1 -0)
app/Extensions/BackupAdapter/BackupAdapterSchemaInterface.php (+23 -0)
app/Extensions/BackupAdapter/BackupAdapterService.php (+35 -0)
app/Extensions/BackupAdapter/Schemas/BackupAdapterSchema.php (+14 -0)
app/Extensions/BackupAdapter/Schemas/S3BackupSchema.php (+206 -0)
app/Extensions/BackupAdapter/Schemas/WingsBackupSchema.php (+64 -0)
app/Extensions/Backups/BackupManager.php (+0 -177)
app/Extensions/Filesystem/S3Filesystem.php (+0 -38)
📝 app/Extensions/Tasks/Schemas/CreateBackupSchema.php (+2 -2)
📝 app/Filament/Admin/Pages/Settings.php (+0 -46)
app/Filament/Admin/Resources/BackupHosts/BackupHostResource.php (+159 -0)
app/Filament/Admin/Resources/BackupHosts/Pages/CreateBackupHost.php (+18 -0)
app/Filament/Admin/Resources/BackupHosts/Pages/EditBackupHost.php (+45 -0)
app/Filament/Admin/Resources/BackupHosts/Pages/ListBackupHosts.php (+31 -0)
app/Filament/Admin/Resources/BackupHosts/Pages/ViewBackupHost.php (+30 -0)
📝 app/Filament/Admin/Resources/Servers/Pages/EditServer.php (+13 -9)
📝 app/Filament/Server/Resources/Backups/BackupResource.php (+2 -6)
📝 app/Http/Controllers/Api/Client/Servers/BackupController.php (+6 -7)
📝 app/Http/Controllers/Api/Remote/Backups/BackupRemoteUploadController.php (+15 -91)
📝 app/Http/Controllers/Api/Remote/Backups/BackupStatusController.php (+6 -63)

...and 21 more files

📄 Description

Closes #1919
Also allows to register custom adapters (https://github.com/pelican-dev/panel/discussions/1600)

Largely untested!!!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/2125 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 1/20/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `boy132/backup-hosts` --- ### 📝 Commits (10+) - [`dd4e723`](https://github.com/pelican-dev/panel/commit/dd4e7231d090616c87fc74841b6743c7ae6bbcd8) start backup hosts - [`ad2333e`](https://github.com/pelican-dev/panel/commit/ad2333ea9d97b3ed8124423b02d349f92a39dbd7) more work on backup hosts - [`12d8b23`](https://github.com/pelican-dev/panel/commit/12d8b23c98c02f6c147a046bba06d1c2751a1f8d) Merge remote-tracking branch 'origin/main' into boy132/backup-hosts - [`a181978`](https://github.com/pelican-dev/panel/commit/a181978a96276ef452dbd0a05bd5dc1fd716b21d) handle old backups and cleanup - [`53761f8`](https://github.com/pelican-dev/panel/commit/53761f8b21be89ba877644b4a6fef035557c6e88) dont allow to delete last backup host - [`efebb99`](https://github.com/pelican-dev/panel/commit/efebb999df25790c824bb89cf1a2c1848a421603) fix backup hosts for "all nodes" - [`150f803`](https://github.com/pelican-dev/panel/commit/150f8035d6b3f2135cc4c6a43032f7aafe6cdb7b) fix tests - [`f1dbbbb`](https://github.com/pelican-dev/panel/commit/f1dbbbb7b0cc5e58fe413524ccccd6b291ac60d4) fix migration for mysql - [`7da9d8c`](https://github.com/pelican-dev/panel/commit/7da9d8c21d9ef06ab5a1c096a1ab7f267cdb77e3) rabbit fixes - [`6c8c2a0`](https://github.com/pelican-dev/panel/commit/6c8c2a0b91f10b4d0812445665cf68f310094e71) Merge branch 'main' into boy132/backup-hosts ### 📊 Changes **41 files changed** (+994 additions, -670 deletions) <details> <summary>View changed files</summary> 📝 `app/Enums/RolePermissionModels.php` (+1 -0) ➕ `app/Extensions/BackupAdapter/BackupAdapterSchemaInterface.php` (+23 -0) ➕ `app/Extensions/BackupAdapter/BackupAdapterService.php` (+35 -0) ➕ `app/Extensions/BackupAdapter/Schemas/BackupAdapterSchema.php` (+14 -0) ➕ `app/Extensions/BackupAdapter/Schemas/S3BackupSchema.php` (+206 -0) ➕ `app/Extensions/BackupAdapter/Schemas/WingsBackupSchema.php` (+64 -0) ➖ `app/Extensions/Backups/BackupManager.php` (+0 -177) ➖ `app/Extensions/Filesystem/S3Filesystem.php` (+0 -38) 📝 `app/Extensions/Tasks/Schemas/CreateBackupSchema.php` (+2 -2) 📝 `app/Filament/Admin/Pages/Settings.php` (+0 -46) ➕ `app/Filament/Admin/Resources/BackupHosts/BackupHostResource.php` (+159 -0) ➕ `app/Filament/Admin/Resources/BackupHosts/Pages/CreateBackupHost.php` (+18 -0) ➕ `app/Filament/Admin/Resources/BackupHosts/Pages/EditBackupHost.php` (+45 -0) ➕ `app/Filament/Admin/Resources/BackupHosts/Pages/ListBackupHosts.php` (+31 -0) ➕ `app/Filament/Admin/Resources/BackupHosts/Pages/ViewBackupHost.php` (+30 -0) 📝 `app/Filament/Admin/Resources/Servers/Pages/EditServer.php` (+13 -9) 📝 `app/Filament/Server/Resources/Backups/BackupResource.php` (+2 -6) 📝 `app/Http/Controllers/Api/Client/Servers/BackupController.php` (+6 -7) 📝 `app/Http/Controllers/Api/Remote/Backups/BackupRemoteUploadController.php` (+15 -91) 📝 `app/Http/Controllers/Api/Remote/Backups/BackupStatusController.php` (+6 -63) _...and 21 more files_ </details> ### 📄 Description Closes #1919 Also allows to register custom adapters (https://github.com/pelican-dev/panel/discussions/1600) _Largely untested!!!_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 18:24:20 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#1773