mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-16 04:03:50 +03:00
[PR #1603] [CLOSED] Restic support for backups #1480
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1603
Author: @IThundxr
Created: 8/12/2025
Status: ❌ Closed
Base:
main← Head:feat/restic📝 Commits (10+)
8529453Restic supporte3ed582Revert local dev changes54ac338Run linting0aed832Improve settings options for restic backups8fbd4f6Implement validation for s3 settingsa5c9e12Fix Restic Repository option not being filled with the current value57c16e9Fix restic_help7f70c5fRemove reliance on FilesystemAdapter for backups6d89fa5Abstract BackupRemoteUploadController to allow for different adapaters to provide extra information to wings8581192Fix WingsBackupAdapter#provideUploadInfo📊 Changes
18 files changed (+381 additions, -196 deletions)
View changed files
➕
app/Extensions/Backups/Adapter/ResticBackupAdapter.php(+47 -0)➕
app/Extensions/Backups/Adapter/S3BackupAdapter.php(+122 -0)➕
app/Extensions/Backups/Adapter/WingsBackupAdapter.php(+19 -0)➕
app/Extensions/Backups/BackupAdapter.php(+16 -0)📝
app/Extensions/Backups/BackupManager.php(+35 -17)➖
app/Extensions/Filesystem/S3Filesystem.php(+0 -38)📝
app/Filament/Admin/Pages/Settings.php(+50 -3)📝
app/Http/Controllers/Api/Remote/Backups/BackupRemoteUploadController.php(+24 -96)📝
app/Http/Controllers/Api/Remote/Backups/BackupStatusController.php(+13 -13)📝
app/Models/Backup.php(+8 -6)📝
app/Repositories/Daemon/DaemonBackupRepository.php(+1 -1)📝
app/Services/Backups/DeleteBackupService.php(+8 -8)📝
app/Services/Backups/DownloadLinkService.php(+3 -2)📝
app/Services/Servers/ServerDeletionService.php(+9 -9)📝
config/backups.php(+10 -0)📝
lang/en/admin/setting.php(+13 -0)📝
routes/api-remote.php(+1 -1)📝
tests/Integration/Services/Backups/DeleteBackupServiceTest.php(+2 -2)📄 Description
This is a set of PRs which implement support for restic in the current backup system. Restic basically allows for incremental and deduplicated backups which would take up much less space then the current wings/s3 backups.
Related Wings PR: https://github.com/pelican-dev/wings/pull/117
Tasks:
Tasks Panel:
Tasks Wings:
@coderabbitai ignore
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.