Moving the cryosparc database in v4.7

Hello!

On one of our workstations the drive where the cryosparc database has been happily living for many years is running out of storage space.

Can I simply copy the entire database to a new location (on the same machine) and then change the CRYOSPARC_DB_PATH environment variable in cryosparc_master/config.sh to the new location? Or do I need to make changes elsewhere also? We are currently running the last version of cryosparc before v5, so 4.7-something.

Sorry, if this has been discussed previously. I could not find a post in the forum or anything in the guide for this exact type of case.

Thanks for the help!

/Ben

You would need to ensure that CryoSPARC is stopped completely before (and when)

  • copying the database directory
  • changing the CRYOSPARC_DB_PATH definition

i stopped cryosparc and then used the command cp -av source/ destination/

and then updated the config.sh file with the new destination.

I started cryosparc and everything looks good!

super easy! thanks! :slight_smile: