How to change database directory in cryosparc v2?

Hey @olibclarke, @Linhua, @ZhijieLi,

You should be able to change the location of the database by copying/moving it.

Please ensure your cryoSPARC database is backed up first: cryosparcm backup

Ensure cryoSPARC is turned off.
Copy/Move the directory of the database to a new location (note: it must be on the same node that the cryoSPARC master is on)
Edit cryosparc2_master/config.sh so that CRYOSPARC_DB_PATH contains the correct path.
Start cryoSPARC

Also, the database doesn’t have to be stored on an SSD, as mongodb automatically caches data it needs in memory. Also, the database is used as a metadata store, so the storage medium will not affect the speed of jobs.

Hope this helps!