Skip to content

[Feature]: Support encryption for automated backups #34283

Open
@moneystack-alex

Description

Is there an existing issue for this?

  • I have searched the existing issues

Description

Automated backups are not encrypted before uploading to s3, but they should be encrypted using APPSMITH_ENCRYPTION_PASSWORD
APPSMITH_ENCRYPTION_SALT

Steps To Reproduce

  1. When I run this command below, a backup is generated, encrypted with the password provided at command line, and then uploaded to s3.

docker-compose exec appsmith appsmithctl backup --upload-to-s3

  1. On the other hand, when that same command is scheduled to run with cron as shown here, it is not encrypted before uploading to s3.

  2. The backup should be encrypted using the encryption env values provided in the docker.env file:
    APPSMITH_ENCRYPTION_PASSWORD
    APPSMITH_ENCRYPTION_SALT

image

Public Sample App

No response

Environment

Production

Severity

Medium (Frustrating UX)

Issue video log

No response

Version

self-hosted, 1.28

Metadata

Labels

Backup & RestoreIssues related to backup and restoreCommunity Reportedissues reported by community membersDevOps PodIssues related to devopsEnhancementNew feature or requestNeeds TriagingNeeds attention from maintainers to triageProduction

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions