Move databases on Windows storagenode

Yes, you can.

  1. Stop the storagenode
  2. Move databases to a new place (C:\storagenode\cache\ for example)
  3. Add a new path to databases to the storage2.database-dir: option:
storage2.database-dir: C:\storagenode\cache\
  1. Save the config
  2. Start the storagenode
  3. Check that you do not have a new databases in a old place and the dashboard shows a correct numbers.

However, keep in mind - you will introduce a new point of failure.

4 Likes