🇨🇦

  • 0 Posts
  • 48 Comments
Joined 2 years ago
cake
Cake day: July 1st, 2023

help-circle
  • Nice!

    Upgrade went smoothly on docker, with some neat new additions. There’s new filter options in the query log. There’s a bunch of new metrics under Settings > System (enable ‘advanced’ in the top right). And overall there seems to be many more settings available under System > All Settings. For example you can easily set the TTL for blocked responses (this was a setting burried in config files before, I was looking for it like 2 weeks ago).

    If you don’t use/set a password in pihole, or you set one via .env variables; you’ll probably have to reset it with the command:

    sudo docker exec <container_name> sudo pihole setpassword <your password here>

    (empty for no password)

    /edit; seems that was a temporary solution.

    These env variables have changed:

    Was: webpassword=<your password>

    DNS1=<upstream1>

    DNS2=<upstream2>

    Now: FTLCONF_dns_upstream=<upstream1;upstream2>

    FTLCONF_webserver_api_password=<your password here>


  • I run Borg nightly, backing up the majority of the data on my boot disk, incl docker volumes and config + a few extra folders.

    Each individual archive is around 550gb, but because of the de-duplication and compression it’s only ~800mb of new data each day taking around 3min to complete the backup.

    Borgs de-duplication is honestly incredible. I keep 7 daily backups, 3 weekly, 11 monthly, then one for each year beyond that. The 21 historical backups I have right now RAW would be 10.98tb of data. After de-duplication and compression it only takes up 407.98gb on disk.

    With that kind of space savings, I see no reason not to keep such frequent backups. Hell, the whole archive takes up less space than one copy of the original data.







  • breaker to my room likes to trip if I am gaming and someone in the house decides to microwave something

    … Why the hell is your pc on the same breaker as the kitchen??

    The kitchen plugs should have their own dedicated breaker in most modern electrical codes (at least in North America). The voltage drop your pc experiences everytime a high-load item like a microwave or kettle is turned on, on the same circuit, is really rough on your PSU.

    At least you have a UPS which presumably performs some power conditioning, but still. Not great.



  • Darkassassin07@lemmy.catoSelfhosted@lemmy.worldHow do you keep up?
    link
    fedilink
    English
    arrow-up
    41
    ·
    edit-2
    2 months ago

    OS updates I only bother with every 6-12mo, though I also use debian which doesn’t push major updates all that regularly.

    As far as software goes; pretty much everything is in a docker container with watchtower automatically pulling new updates to those nightly at 4am. It sends me email notifications, so It’ll tell me if an update fails; combined with uptime-kuma notifying me if any of my services is unavailable for whatever reason.

    The rest I’ll usually do with the OS updates. Just because an update was released, doesn’t mean you’ve gotta drop everything and install it right this moment.




  • Supposedly docker volumes are faster than plain bind mounts; but I’ve not really noticed a difference.

    They also allow you to use docker commands to backup and restore volumes.

    Finally you can specify storage drivers, which let you do things like mount a network share (ssh, samba, nfs, etc) or a cloud storage solution directly to the container.

    Personally I just use bind mounts for pretty much every bit of persistent data. I prefer to keep my compose files alongside the container data organized to my standards in an easy to find folder. I also like being able to navigate those files without having to use docker commands, and regularly back them up with borg.







  • That sounds like storage failure.

    I actually ran into something similar with the RPI 2 weeks ago. It was running incredibly slow, certain file directories refused to load, DNS resolution was failing 1/3 of the time and was super slow when it did work…

    Pretty sure the 6 year old sd card finally gave up.

    Having a script automatically write a bootable backup of the SD card to an SSH server once a week makes that recovery super easy. Literally just write the last backup to a new card, swap them out, and all’s well again.