Reinstalling the OS

I have a linux OS on one hard drive with 4 partitions: boot, root, home and swap. I have my storj node installed via docker and all run-scripts and (I suppose so) stored filepieces in my home partition. If I were to install another linux OS without touching the home partition, will my storj node be safe, or do I need to backup something from other partitions, like root?

the storage node consists of two primary parts the identity files and the storj folder.
these two locations are defined when you execute the docker run command.

looks something like this
Template

docker run -d --restart unless-stopped --stop-timeout 300 -p 192.168.1.100:28967:28967/tcp -p 192.168.1.100:28967:28967/udp \
#--log-opt max-size=1m \
-p 192.168.1.100:14002:14002 -e WALLET="0x111111111111111111111" \
-e EMAIL="your@email.com" -e ADDRESS="global.ip.inet:28967" \
-e STORAGE="4TB" --mount type=bind,source="/sn3/id-sn3",destination=/app/identity \
--mount type=bind,source="/sn3/storj",destination=/app/config --name sn3 storjlabs/storagenode:latest \
--filestore.write-buffer-size 4096kiB --pieces.write-prealloc-size 4096kiB

the two --mount type… defines the folder of the storagenode and the identity.

optionally there can be a database mount also, which you would also need to retain.
this is only if you have chosen to store your database files on a separate device such as an SSD to help with the IO.

the normal recommendation is to keep the identity folder with the storj folder.
so in most cases you just need to retain those two folders.

3 Likes