Copy node db from up to date node to fresh node

Can you copy the state (db) of a fully up to date node (on MacOS) to a fresh node on Ubuntu, and have it be starting at the copied state?

In principle this should be possible. The format should be platform independent, although I am not guaranteeing that.

To do it

  • stop the node and wait for it to fully shut down
  • copy the entire database-v4 directory to the new location
  • start the new node