Storj Remote Backup Program for Linux (SRBPL) – Version 4

Hey, nice job with the script. But what is this used for? Why do you need a backup?

Great question!

Let me answer by making some basic points:

  • The whole point of backing up your important files is to make sure that you don't lose your important files if a disaster happens.
  • The first line of defense is to run a secure operating system that minimizes the odd of your files being lost (e.g. being encrypted by ransomware: https://www.itworldcanada.com/article/new-report-says-windows-efs-encryption-could-be-leveraged-by-ransomware/426294)
  • In my opinion, open source computer operating systems (e.g. Linux, FreeBSD, and OpenBSD) are more secure than closed-source proprietary operating systems (e.g. Windows 10 and MacOS) because open source code means that a lot more people are able to look at the code to find and bugs and errors quickly).
  • In my opinion, Linux is the most popular open source computer operating system, so it has the most eyeballs looking at its code, so the probability of bugs and errors being found quickly are relatively high. (Please see: https://en.wikipedia.org/wiki/Comparison_of_open-source_operating_systems)
  • So my first line of defense to minimize the odds of me losing my important files is to ONLY keep those important files on Linux machines.
  • Now, let's assume that I keep all of my important files on a single drive on my Linux machine. What happens if that drive fails catastrophically? All of my important files are lost!
  • So the second line of defense is to locally backup your important files using programs like Déjà Dup (https://wiki.gnome.org/Apps/DejaDup) and/or Syncthing (https://syncthing.net/) The problem: If you only backup your files locally, and your house burns down (destroying all of your local computers), then all of your files are lost!
  • The solution: enter remote backups. You can do remote backups to centralized services (e.g. Dropbox, Google Drive, or Microsoft OneDrive). There are several problems with centralized services: they can be hacked, potentially exposing your files to bad guys, a disgruntled employee of the centralized service could potentially gain access to your files, a corrupt government with a search warrant could potentially force the centralized service provider to force them to grant access to your important files.
  • Enter decentralized file storage (e.g. Storj). If you do local backups using a program such as Déjà Dup/Syncthing AND also do remote backups to a decentralized storage service such as Storj, you minimize the probability of losing your important files.

Let's look at a few scenarios:

  • You accidentally delete the folder containing all of your important files.
  • No problem: you created a backup folder called "backups" where Déjà Dup put a backup copy of all of your important files.
  • The drive on your main Linux computer fails.
  • No problem: Syncthing copied all of your important files to your second Linux computer.\
  • Your house burns down, and all of your Linux computers are destroyed.
  • No problem: a backup of all of your important files is on Storj (you just have to make sure that you keep a backup of you Storj credentials somewhere where they won't won't be destroyed if your house burns down).

I hope that this response helps. Please enjoy the script!

/r/storj Thread Parent