Fix things

This commit is contained in:
Tanner Collin 2021-04-11 07:13:20 +00:00
parent 38607ec437
commit 5b0f01d804
2 changed files with 39 additions and 36 deletions

View File

@ -1,7 +1,7 @@
Title: My Backup Strategy Title: My Backup Strategy
Date: 2021-04-08 Date: 2021-04-08
Category: Writing Category: Writing
Summary: Details about the backup system for my data. Summary: Details about the backup system for all of my data.
Wide: true Wide: true
[TOC] [TOC]
@ -32,7 +32,7 @@ the destination for all my backup sources. All scheduled automatic backups write
to their own subfolder inside of it. to their own subfolder inside of it.
This backup folder is then synced to encrypted 2.5" 1 TB hard drives which I This backup folder is then synced to encrypted 2.5" 1 TB hard drives which I
rotate between my bag, offsite, and my parent's house. rotate between my bag, offsite, and my parents' house.
## Backup Sources ## Backup Sources
@ -127,6 +127,8 @@ Telegram Messenger is my main app for communication. My parents, most of my
friends, and friend groups are on there so I don't want to lose those messages friends, and friend groups are on there so I don't want to lose those messages
in case Telegram disappears or my account gets banned. in case Telegram disappears or my account gets banned.
<span class="aside">Saves the messages to a sqlite db</span>
Telegram includes a data export feature, but it can't be automated. Instead I Telegram includes a data export feature, but it can't be automated. Instead I
run the deprecated software run the deprecated software
[telegram-export](https://github.com/expectocode/telegram-export) hourly with [telegram-export](https://github.com/expectocode/telegram-export) hourly with
@ -197,9 +199,9 @@ I run `rdiff-backup` on the remote server with cron:
55 14 1 * * rdiff-backup --remove-older-than 12B --force tbotbak@remotebackup::/mnt/backup/remote/tbotbak/monthly/t0txt/ 55 14 1 * * rdiff-backup --remove-older-than 12B --force tbotbak@remotebackup::/mnt/backup/remote/tbotbak/monthly/t0txt/
``` ```
The user `tbotbak` has write access only to the `/mnt/backup/remote/tbotbak` The `tbotbak` user has write access to the `/mnt/backup/remote/tbotbak`
directory. It has its own passwordless SSH key that's only permitted to run the directory only. It has its own passwordless SSH key that's only permitted to run
`rdiff-backup --server` command for security. the `rdiff-backup --server` command for security.
### Protospace ### Protospace
@ -217,7 +219,7 @@ an archive I download daily:
https://api.my.protospace.ca/backup/ https://api.my.protospace.ca/backup/
``` ```
The main website and [wiki](https://wiki.protospace.ca) that I sysadmin gets The website and [wiki](https://wiki.protospace.ca) that I sysadmin get
backed up weekly: backed up weekly:
``` ```

View File

@ -67,4 +67,5 @@
{{ article.summary }} {{ article.summary }}
</div> </div>
{% endfor %} {% endfor %}
</div>
{% endblock %} {% endblock %}