If it wasn’t already your plan, I’d move to a new database (on the same server) for the migration so you don’t break your existing site.
I can’t tell quite what you think Bitnami is doing, but the thing you want in your ENV is DISCOURSE_S3_BACKUP_BUCKET
. See Configure an S3 compatible object storage provider for uploads for how to properly set those S3 variables in your app.yml
.
If by “better” you mean “will this mean that I won’t break our existing site and leave it in a state where it will never work again?”, the answer is yes.
Set them in the YML
Yes it will update the database. I would recommend that you Restore a backup from the command line
That’s what you want. The place you restore from has to be the same or newer than the backup version. It’ll migrate the database after it’s restored.
This might be all you need to know and we’re happy to help here for free. If you’d like hands-on your-setup-specific attention, you can contact me or ask for help in Marketplace.
Also, another option would be to build images and launch those in k8s. I’ve done that a few times and used github to build the images.