Open katelinlis opened 4 years ago
Is it really necessary to stop the node and create a temp copy on Linux?
It isn't. Database corruption can happen on windows and mac os with docker because it uses network shares and virtualization in the background to share the volumes with the container. On linux this isn't the case, so the databases aren't at risk.
That said, it's a use at your own risk situation. But I run this script without ever stopping my node myself on linux.
Gotcha. Thanks for confirming. I've been running the script on my Linux node without stopping the container, and so far everything has been fine, but this got me wondering. I try to limit node restarts to updates and maintenance only.
EDIT: Fantastic work, by the way.
/mnt/storj - Link to storj data folder ./storjTemp/ - Temp folder for db