Migration Instructions to a NEW Database Image

Knowledge Base / On-Premise Installations / Migration Instructions to a NEW Database Image

From time to time, Manifest for Docker updates the database image to a newer version. What that means for current Manifest for Docker clients is that they need to migrate to this new database image. Instructions on how to complete this migration is included below.  Please follow these instructions.  


  • EXISTING Manifest for Docker clients who are currently running manifest-db-11 and would to update and migrate to use manifest-db-14
  • NEW License Key that needs to be obtained from manifestsupport@taqtile.com
  • The below instructions that will give you step by step instructions to migrate from db image 11 to db image 14
  • Reference docker instruction if needed

How to Migrate to New Database Image

  1. Run cmd as an Administrator
  2. Change current directory to c:/manifest by typing command: cd c:/manifest
  3. Check that the Manifest containers are up and running by entering command: docker container ls  
  1. Create a dump of the old database. 
    • Enter the command: docker-compose exec -T dbpostgres pg_dumpall -U postgres > pgdump 

5. Check your current directory and a new file called ‘pgdump’ should appear. 

6. Enter command docker-compose down to stop all container

7. Set up new docker-compose file. Update all variables and enter in NEW license key provided from your Account Manager.  

  1. Check your volumes and delete the manifest_postgres one.  (IMPT! This will delete all your Manifest data, check ‘pgdump’ file is still in your file.) 
    • Enter command docker volume ls 
    • Enter command docker volume rm [VOLUME_NAME] 
      • Example: docker volume rm 24_manifest_postgres 
  1. Start updated docker-compose file and find your database image. 
    • Enter command docker-compose pull 
    • Enter command docker-compose up –d 
    • Enter command docker container ls 
  1. Restore your database dump to this container (container_id’s first three letters is fine for the command below). 
    • Enter command docker exec -I [container_id] psql manifestmain -U manifest < pgdump 
    • Example: docker exec -i 04d psql manifestmain -U manifest < pgdump 
  1. Restart Manifest containers by entering in the following commands:  
    • Enter command: docker-compose down 
    • Enter command: docker-compose up –d 
  1. Congratulations! Manifest has successfully been upgraded! 

How useful was this post?

Average rating 0 / 5. Vote count: 0

Leave a Comment


Table of Contents