Skip to content

Migrate to 25.2

Make sure you are on 25.1 before you start. Do the previous migrations if not.

Changes:

  • DB 23.6 -> 23.7
  • Script to disable archive logging
    • local-23ai.sh disable-archive-logs
  • Script to test an application install (incl. supporting objects)
    • Will show the amount and types of installed objects
    • Will show the amount of invalid objects
    • Will run an object dependency scan and show the results
    • local-23ai.sh test-app-insall ./path/to/my_app.sql

Still, we want to backup the database and the oradata volume.

Terminal window
docker ps

Otherwise start the database:

Terminal window
docker-compose up -d
Terminal window
chmod +x ./local-23ai.sh ./setup.sh ./scripts/*.sh

This will backup all schemas and APEX workspaces that where created with the local-23ai.sh create-user script. If you have additional schemas or workspaces you need to backup them manually.

Terminal window
local-23ai.sh backup-all

Now check the backups/export directory if the backup was created successfully.

Optionally also back up the oradata files. This can take a moment, mine is about 10GB big. Make sure that ./backups/oradata does not exist.

Terminal window
source ./scripts/util/load_env.sh
docker exec $CONTAINER_NAME bash -c "echo 'shutdown immediate;
exit' | sqlplus / as sysdba && exit"
docker cp $CONTAINER_NAME:/opt/oracle/oradata ./backups/oradata
Terminal window
local-23ai.sh stop
Terminal window
git fetch
git checkout 25-2
Terminal window
docker-compose up -d
Terminal window
docker image ls
docker image rm