new changes
This commit is contained in:
@@ -13,3 +13,7 @@ class BackupPlan(Base):
|
||||
target_id: Mapped[int] = mapped_column(Integer, nullable=False) # site_id or database_id
|
||||
schedule: Mapped[str] = mapped_column(String(64), nullable=False) # cron expression, e.g. "0 2 * * *" = daily 2am
|
||||
enabled: Mapped[bool] = mapped_column(Boolean, default=True)
|
||||
# Optional S3-compatible copy after local backup (uses AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY env).
|
||||
s3_bucket: Mapped[str] = mapped_column(String(256), default="")
|
||||
s3_endpoint: Mapped[str] = mapped_column(String(512), default="")
|
||||
s3_key_prefix: Mapped[str] = mapped_column(String(256), default="")
|
||||
|
||||
Reference in New Issue
Block a user