Skip to content

feat: add SFTP, FTP, and Google Drive backup destinations (#168)#1465

Open
tarai-dl wants to merge 1 commit intoCortexFlow-AI:canaryfrom
tarai-dl:rn/backup-destination-types
Open

feat: add SFTP, FTP, and Google Drive backup destinations (#168)#1465
tarai-dl wants to merge 1 commit intoCortexFlow-AI:canaryfrom
tarai-dl:rn/backup-destination-types

Conversation

@tarai-dl
Copy link
Copy Markdown

Summary

Adds support for multiple backup destination types beyond S3, addressing bounty issue #168.

Changes

New Destination Types

  • SFTP: Secure File Transfer Protocol via SSH
  • FTP: Standard File Transfer Protocol
  • Google Drive: via service account authentication

Implementation Details

  • Added destinationTypeEnum to DB schema (s3, sftp, ftp, gdrive)
  • Added getRcloneConfig() with type-specific credential handling
  • Updated all backup utilities (compose, mariadb, mongo, mysql, postgres, web-server)
  • Added destination type selector UI with conditional form fields

Technical Approach

Uses rclone for all destination types, keeping the existing S3 workflow unchanged.

Closes #168

…-AI#168)

Add support for multiple backup destination types beyond S3:
- SFTP: Secure File Transfer Protocol via SSH
- FTP: Standard File Transfer Protocol
- Google Drive: via service account authentication

Changes:
- Add destinationTypeEnum to DB schema (s3, sftp, ftp, gdrive)
- Add getRcloneConfig() with type-specific credential handling
- Add getSftpCredentials(), getFtpCredentials(), getGdriveCredentials()
- Update backup utilities to use new destination abstraction
- Add destination type selector UI with conditional form fields
- Add DESTINATION_TYPES constant with descriptions

Uses rclone for all destination types, keeping the existing S3 workflow
unchanged while adding new backends via rclone's built-in support.

Resolves CortexFlow-AI#168
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to backup to more destination types

1 participant