lokalhorst
@lokalhorst@feddit.org
- Comment on We need a list of products we can buy without worrying about telemetry or advertising. 1 day ago:
But why is the list not hosted in a repo or something but instead needs to be over at lemmy.ml?
- Comment on Valve now say your data is safe from the CEVA Logistics cyberattack 4 days ago:
Yup, got an E mail this morning. Very transparent from Valve.
- Comment on Would you use a privacy-first mobile app that watches your whole self-hosted stack — nothing phoning home? 2 weeks ago:
That sounds interesting — can you show me how to reverse a linked list in Python?
- Comment on What is your cloud backup solution? 3 weeks ago:
That’s a nice setup. I actually let
resticdo my backups? Is there an advantage of using EncFS/rsync? Like not having to use SSH? - Comment on What is your cloud backup solution? 3 weeks ago:
A Hetzner Storage Box, 1TB for 3,89€
- Comment on Paperless cloud backups https:// samsm.ch/paperless-cloud-backu ps/ 4 weeks ago:
I actually use the
document_exporterofpaperless-ngx. I have a small bash scriptbackup-paperless.shthat runs the paperless-ngxdocument_exporterand also makes a database dump usingpg_dump. It sets up the restic backups logic with daily, weekly and monthly backups. I run that bash script using a systemd servicepaperless-backup.service. This service is run daily with the timerpaperless-backup.timer, randomly at 3 am ±30 minutes.resticis smart, so it does only backup if there are changes. The incremental backups are great, in case the database corrupts without me noticing. I’ll share the scripts in case you are interested in how it works:backup-paperless.sh
#!/bin/bash set -euo pipefail COMPOSE_DIR="/home/user/paperless-ngx/" DUMP_DIR="$COMPOSE_DIR/sqldump" EXPORT_DIR="/usr/src/paperless/export" export RESTIC_REPOSITORY="sftp:abc123@abc123.your-storagebox.de:/backup/restic" export RESTIC_PASSWORD_FILE="/home/user/.config/restic/password" mkdir -p "$DUMP_DIR" cd "$COMPOSE_DIR" docker compose exec -T webserver document_exporter "$EXPORT_DIR" -p docker compose exec -T db pg_dump -U paperless paperless > "$DUMP_DIR/dump.sql" restic backup "$DUMP_DIR" "$COMPOSE_DIR/export" restic forget \ --keep-daily 7 \ --keep-weekly 4 \ --keep-monthly 6 \ --prune rm -rf "$COMPOSE_DIR/export"/* rm -rf "$DUMP_DIR"/*
paperless-backup.service
[Unit] Description=Paperless-ngx Restic Backup Wants=network-online.target After=network-online.target docker.service [Service] Type=oneshot User=user WorkingDirectory=/home/user/paperless-ngx ExecStart=/home/user/paperless-ngx/backup-paperless.sh
paperless-backup.timer
[Unit] Description=Run paperless backup every 24 hours [Timer] OnCalendar=*-*-* 03:00:00 Persistent=true RandomizedDelaySec=30min [Install] WantedBy=timers.target
- Comment on Paperless cloud backups https:// samsm.ch/paperless-cloud-backu ps/ 4 weeks ago:
I use restic to backup my paperless documents to a Hetzner Storage Box. The setup was easy and I am independent of US cloud hosters.
- Comment on Birdnet-go: Self-hosted realtime soundscape analyser for birds, bats and other wildlife 5 weeks ago:
Rule 7
- Comment on Self-hosted analytics and the infrastructure cost of privacy 5 weeks ago:
Fully agree, so much wrong with it. It should be a phrase of the past.
- Comment on *Gasp* A Wall! 1 month ago:
- Comment on How much do you secure a home server that's only accessible with VPN? 2 months ago:
I access my home server with Jellyfin exclusively via Tailscale. Until now, I thought I was safe, as I haven’t opened anything to “the open internet”. After reading your very nice guide, I feel like I forgot a lot. Supposed I trust Tailscale, is that enough?
- Comment on Help choosing a good HDD for my home server? 2 months ago:
I bought a Red Plus NAS 8TB a couple of weeks ago, because I didn’t know better. My mini PC is sitting a meter behind the monitors of my desktop PC and the noise is unbearable. So at the moment I just use the HDD as a backup, but it will be impossible for me to place it somewhere near where I live. Unfortunately I have no Ethernet in the kitchen.
I know I could have known this before but I didn’t know better. I had no idea those things run 24/7. You seem to be better informed than me, but just wanted to warn you!
- Comment on Is they're an easy way to make my Jellyfin accessible outside of my home network 2 months ago:
What you want is Tailscale. The downside of Tailscale is that you have to connect to a VPN to access your services, the advantage - it is so easy to set up on the server it feels like magic.
- Comment on What's your contingency plan for the apocalypse? 3 months ago:
I have an off site backup that runs every 24 hours with rustic, for my important documents I archive with paperless. That’s about it. If there is no energy anymore I give a shit on my Jellyfin collection but see how I can cook food. If I need to flee I may take an HDD with me, but only the important stuff.
- Comment on Email ownership, I give up. 3 months ago:
Just use mailbox.org or posteo.de . Using one of those providers is so much better than a Google mail address but so easier than hosting your own mail server.