Skip to content

Migrate database backup uploader from CarrierWave to ActiveStorage #1#506

Open
farhan-ahmed1 wants to merge 1 commit intoTarteelAI:mainfrom
farhan-ahmed1:migrate-carrierwave-to-activestorage-1
Open

Migrate database backup uploader from CarrierWave to ActiveStorage #1#506
farhan-ahmed1 wants to merge 1 commit intoTarteelAI:mainfrom
farhan-ahmed1:migrate-carrierwave-to-activestorage-1

Conversation

@farhan-ahmed1
Copy link
Contributor

@farhan-ahmed1 farhan-ahmed1 commented Jan 18, 2026

This pull request migrates database backup file uploads from CarrierWave to ActiveStorage while also maintaining backward compatibility during this transition period. This fixes issue #1.

Changes:

@naveed-ahmad
Copy link
Contributor

I'll recommend dividing this PR into three mini PRs:

1- Implement ActiveStorage and update the backup script use it(keep don't removed CarrierWave)
2- Write a rake task that migrate old backup files, download them using CarrierWave and re-upload using ActiveStorage)
3- Clean up step, remove CarrierWave and related stuff

@farhan-ahmed1
Copy link
Contributor Author

@naveed-ahmad Thank you for the feedback. I created the first PR like you suggested. Please take a look and review and I'll move on to the next. #513

@naveed-ahmad
Copy link
Contributor

@farhan-ahmed1 can you rebase and resolve the merge conflicts?

@farhan-ahmed1
Copy link
Contributor Author

@naveed-ahmad I plan to keep this PR as a reference. I will remove it once I have finished the remaining PRs. Speaking of which, I plan to create the rake task PR soon. Just been busy these past few days. Thanks

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.

2 participants