Add diagrams for ports and backup article
This commit is contained in:
@@ -2,6 +2,7 @@ Title: My Backup Strategy
|
||||
Date: 2021-04-08
|
||||
Category: Writing
|
||||
Summary: Details about the backup system for all of my data.
|
||||
Image: backup1.svg
|
||||
Wide: true
|
||||
Tags: feed
|
||||
|
||||
@@ -20,12 +21,15 @@ Backups need to be tested to ensure they are correct and happening regularly. M
|
||||
Backups should also be incremental when possible (rather than mirror copies) so an accidental deletion isn't propagated into the backups, making the file irrecoverable.
|
||||
|
||||
## Strategy
|
||||
|
||||
The key is to have one central location that all your files, projects, and data are cloned to and then back that directory up to multiple locations.
|
||||
|
||||
I have one backup folder `/mnt/backup` on my media server at home that serves as the destination for all my backup sources. All scheduled automatic backups write to their own subfolder inside of it.
|
||||
|
||||
This backup folder is then synced to encrypted 2.5" 1 TB hard drives which I rotate between my bag, offsite, and my parents' house.
|
||||
|
||||
![[backup1.svg]]
|
||||
|
||||
## Backup Sources
|
||||
|
||||
I use the tool `rdiff-backup` extensively because it allows me to take incremental backups locally or over SSH. It acts very similar to `rsync` and has no configuration.
|
||||
|
@@ -2,6 +2,7 @@ Title: Bypassing ISP Blocked Ports
|
||||
Date: 2023-12-10
|
||||
Category: Writing
|
||||
Summary: Bypass ISP blocked ports using VPN port forwarding for public access.
|
||||
Image: ports1.svg
|
||||
Wide: true
|
||||
Tags: feed
|
||||
|
||||
@@ -19,6 +20,8 @@ My media server at home has an OpenVPN client connected to the server and is ass
|
||||
|
||||
The virtual server has routing enabled and forwards inbound traffic __from the internet__ to my media server at home. This allows me to have external HTTP and SSH access.
|
||||
|
||||
![[ports1.svg]]
|
||||
|
||||
## Server Setup
|
||||
|
||||
Spin up a Debian 12 server on your favourite hosting provider. If you're using an older version of Debian, you can follow the [[Bypassing Ports Old |old version of this article]]. You should harden this server. Assign a subdomain to it like `vpn.example.com`.
|
||||
|
4
content/media/backup1.svg
Normal file
4
content/media/backup1.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 185 KiB |
4
content/media/ports1.svg
Normal file
4
content/media/ports1.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 110 KiB |
Reference in New Issue
Block a user