Linux IPFS two node Setup with Mirroring (Easy Setup)

If you want to Mirror your Personal Files over the Internet to two or more Decentral Nodes (perhaps Private), you can do it with the well known Internet Planetary Filesystem called IPFS. The major problem was in History to SYNC the Nodes hourly by Cronjob.

The very easy fast way is to Setup kubo-go-ipfs from github an run the ipfs (a single-file) as Daemon on 2 PCs:

  • Setup the two PCs as Private Nodes , both with a key-file, so that only the two Nodes works together.
  • The File Sync as easy solution is running a bash script to pull the Qm-Hash from the Root Folder called by me /Public
  • One Step later i run ipfs files stat /Public to get a hashkey as Output this hashkey push i as text file to other nodes over SCP oder Webdav with Authentication.
  • On the Second Node i import the hashkey.txt with ipfs command into the System.
  • After some Time the Nodes starting Transmission by Full Automatic.
  • The Hashfile (Qm…)  of Folder Public is synced by easy Scripts,i made all with builtin ipfs default commands, so its a very Easy Setup without additional Software
  • Sync is done by Cron Jobs.
  • Major Info! kubogo-ipfs should be the same Version on all Nodes! Cause the Developers changes the hash-encoder during last Changes!
  • With this Solution you can Setup easy and fast a lot of of Nodes to host decentral your stuff.

If i find more time i add Step by Step here.. its NO MAGIC!

Screenshot Kubo IPFS Mirror Setup over Internet (Private Nodes) no Cluster
Screenshot Webinterface of two Kubo IPFS Mirror Setups over Internet (Private Nodes)