Add built-in databaseRename option for snapshot jobs
Summary
- Add native
databaseRenameconfiguration tophysicalSnapshotandlogicalSnapshotjobs - Eliminates the need for custom
preprocess.shscripts for the common database rename operation - Spins up a temporary container and runs
ALTER DATABASE RENAMEfor each configured mapping, with validation to prevent renaming the connection database
Configuration example
physicalSnapshot:
options:
databaseRename:
example_production: example_dblab
analytics_prod: analytics_dblab
Issue: #675
Edited by Denis Morozov