You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migration of the production DB is one of the operations we want to be extra careful with, as we want to minimise mistakes that could cost us downtime.
Suggested approach on how to prepare for migration of the production database:
Use the latest daily backup as a test environment. This is close to production, without actually being on production, and allows running the migrations.
It is not a 100% copy of production as the test environment will be using SQLite3 and not MySQL
Run a autoreduce-webapp-manage shomigrations to see a list of the migrations that will be applied.
Run the migration with autoreduce-webapp-manage migrate to apply the migrations.