feat(backup): Extend Backup to other Git providers (#1160)

This commit is contained in:
BurntOutHylian
2026-05-03 08:12:36 +02:00
committed by GitHub
parent abc8e97050
commit e45f967616
26 changed files with 2191 additions and 460 deletions
+2
View File
@@ -17,6 +17,8 @@ class GitHubBackupConfig(Base):
repository_url: Mapped[str] = mapped_column(String(500)) # Full GitHub URL
access_token: Mapped[str] = mapped_column(Text) # Personal Access Token
branch: Mapped[str] = mapped_column(String(100), default="main")
provider: Mapped[str] = mapped_column(String(30), default="github")
allow_insecure_http: Mapped[bool] = mapped_column(Boolean, default=False)
# Schedule configuration
schedule_enabled: Mapped[bool] = mapped_column(Boolean, default=False)