Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Read about the new version - Review the release notes for the version of Clowder. If you skip a few versions, we strongly recommend that you read the release notes of the versions you have skipped.

  • Check for known issues - Use the JIRA to search for any issues in the new version that will affect you.

  • Check for compatibility:

    • Confirm that your operating system, database, and other software installed still comply with the requirements for Clowder.

    • If you have installed Clowder extractors, verify that they will be compatible with the version of Clowder you are upgrading to. If not you will need to update the extractors as well.

  • Prestaging and testing your new version of Clowder:

    • We strongly recommend performing your upgrade in a test environment first. Do not upgrade your production Clowder server until you are satisfied that your test environment upgrade has been successful.

    • If you have any problems with your test environment upgrade which you cannot resolve, create an issue at JIRA so that we can assist you.

...

 

Code Block
languagebash
titleBacking up MongoDB
mongodump  --db clowder --out clowder-upgrade

 

2.2 Restoring MongoDB

This will describe how to backup the mongo database. If you have the files stored in the mongo database (default) this can take a long time and take up a significant amount of space since it will also restore the actual files. There are two ways to restore the mongo database, the first one will drop the database first, and thus will also remove any additional collections you added. The second way will only drop those collections that are imported, this can leave some additional collections that could create trouble in future updates.

 

Code Block
languagebash
titleRestoring MongoDB 1
echo "db.dropDatabase();" | mongo --db clowder
mongorestore --db clowder clowder-upgrade/clowder

 

 

Code Block
languagebash
titleRestoring MongoDB 2
mongorestore --drop --db clowder clowder-upgrade/clowder

 

2.3 Backing up PostgreSQL

...