I have been talking a lot about server migration and making it ready without disclosing many details. So this thread aims to remedy that.
What have I been working on?
Backups
The most important thing is backups so that has been getting 90% of my attention.
The main goal of mine is minimizing friction in restoring the server. It should only take a few minutes to restore the server. My NixOS module at this point can now restore the server in just a few minutes, and has point in time recovery. Meaning at most we might lose 1 minute of data. I have made this so frictionless I could deploy a full new server and restore from backup in just 10 minutes or less.
Moving storage
Planning on where to move the files took a lot of research, testing, and price calculations. I believe the best option for our needs is 1 of 2 places, im leaning on the 1st option.
-
Our own storage - This means storing the files on a server we own. This will be cheaper than the second option, but not as portable, and would make migrations down the line more difficult. This would be DMCA ignoring storage.
-
Cloudflare R2 - This is relatively cheap compared to other options and integrates into technologies down further in this post. Much more portable, but costs much more than the 1st option and not DMCA ignoring
- Cloudflare
- Our own storage
CDN
This is by far the biggest cost for the server, and I can remove it entirely, by switching to cloudflare. This is why cloudflare is an option for storage as the money saved from this would allow me to put more money into the storage/hosting costs. We will be using this regardless of the storage we end up with.
So now what
These are the main blockers for the migration. I have most problems solved at this point and the migration is appearing on the horizon. I will be scheduling downtime for 4 days sometime in the near future. The downtime might be shorter than that if everything goes smooth. I don’t anticipate the downtime actually taking 4 days.