Skip Navigation
RadDevon

Still figuring things out here. In the world, I mean.

Posts
7
Comments
69
Joined
2 yr. ago
  • Check out Natsu-Mon: 21st Century Summer Kid. It’s not Deck verified, but it’s platinum on ProtonDB, so it should work. I played it on Linux (albeit not on Deck) with no issue.

    You just get to be a kid in the summer in a small Japanese town. I grieved when it was over because I wouldn’t get to see all the friends I had made anymore or go fishing or hunt treasure or catch bugs…

    So wholesome!

  • Just remember any backup is better than nothing.

    This is comforting.

    There are several reasons to backup data only and not the full system. First you may be unable to find a computer exactly/enough like the one that broke, and so the old system backup won’t even run. Second, even if you can find an identical enough system, do you want to, or maybe it is time to upgrade anyway - there are pros and cons of arm (raspberry pi) vs x86 servers (there are other obscure options you might want but those are the main ones), and you may want to switch anyway since you have. Third, odds are some of the services need to be upgraded and so you may as well use this forced computer time to apply the upgrade. Last, you may change how many servers you have, should you split services to different computers, or maybe consolidate the services on the system that died to some other server you already have.

    Some good things to consider here. Whether or not I'll want to upgrade will depend on how far this theoretical failure is. If storage fails, I might just replace that and restore the backup. If it's something more significant than that and we're 2-3 years down the line, I'll probably look at an upgrade. If it's less than that, I might just replace with the same to keep things simple.

    I guess one other upside of the full system backup is that I could restore just the data out of it if I decide to upgrade when some hardware fails, but I don't have the reverse flexibility (to do a full system restore) if I opt for a data-only backup.

  • If you don’t have the budget for on-premises backup, you almost certainly can’t afford to restore the cloud backup if anything goes wrong.

    I believe egress is free on Backblaze B2.

    Just make sure to test the restore procedure once in a while.

    Good call on this. Curious if you have a procedure for actually doing this. I could just wipe out my system and rebuild it from the backup, but then I'm in trouble if it fails. What does a proper test of a backup actually look like?

  • Check out Borgbase, it’s very cheap and it’s an actual backup solution, so it offers some features you won’t get from Google drive or whatever you were considering using e.g. deduplication, recover data at different points in time and have the data be encrypted so there’s no way for them to access it.

    I looked at Borgbase, but I think it will be a bit more pricey than Restic + Backblaze B2. Looks like Borgbase is $80/year for 1TB, which would be $72/year on B2 and less if I don't use all of 1TB.

    The vast majority of your system is the same as it would be if you install fresh, so you’re wasting backup space in storing data you can easily recover in other ways.

    I get this, but it would be faster to restore, right? And the storage I'm going to use to store these files is relatively little compared to the overall volume of data I'm backing up. For example, I'm backing up 100GB of personal photos and home movies. Backing up the system, even though strictly not necessary, will be something like 5% of this, I think, and I'd lean toward paying another few cents every month for a faster restore.

    Thanks for your thoughts on the database backups. It's a helpful perspective!

  • Much simpler than my solution. I'll look into this. Thank you!

  • Is your script something you can share? I'd love to see your approach. I can definitely live with a few minutes of down time in the early morning.

  • Had considered a device with some storage at a family member's house, but then I'd have to maintain that, fix it if it goes down, replace it if it breaks, etc. I think I'd prefer a small monthly fee for now, even if it may work out more expensive in the long run.

    Good call on the cost calculation. I'll take another look at those factors...

  • If that's the main downside to a full-system backup, I might go ahead and try it. I'll check out Backrest too. Looks great!

  • Much easier than what I was trying to do. Thank you!

  • OK, cool. That’s helpful. Thank you!

    I know in general you can just grab a docker volume and then point at it with a new container later, but I was under the impression that backing up a database in particular in this way could leave you with a database in a bad state after restoring. Fingers crossed that was just bad info. 😅

  • Selfhosted @lemmy.world
    RadDevon @lemmy.zip

    Backups: Am I doing this right?

    I'm in the process of setting up backups for my home server, and I feel like I'm swimming upstream. It makes me think I'm just taking the wrong approach.

    I'm on a shoestring budget at the moment, so I won't really be able to implement a 3-2-1 strategy just yet. I figure the most bang for my buck right now is to set up off-site backups to a cloud provider. I first decided to do a full-system backup in the hopes I could just restore it and immediately be up and running again. I've seen a lot of comments saying this is the wrong approach, although I haven't seen anyone outline exactly why.

    I then decided I would instead cherry-pick my backup locations instead. Then I started reading about backing up databases, and it seems you can't just back up the data directory (or file in the case of SQLite) and call it good. You need to dump them first and backup the dumps.

    So, now I'm configuring a docker-db-backup container to back each one of the

  • You’re right, but part of the draw of Linux is that you have more control over your OS. An immutable distro makes that a lot harder to get at as compared to non-immutable.

  • Yep! Like I said, freedom is more than one thing. The way this questions is framed tries to put the blinders on and obscure that fact, creating a false equivalency between the freedom to sideload software and some abstract notion of “absolute freedom” which doesn’t actually exist. We’re rarely choosing between absolute freedom and zero freedom, certainly not in this case.

  • Freedom is not one thing. The choice between iOS and Android is not a choice between zero freedom and unlimited freedom. You’re simply choosing which freedoms you want to prioritize.

    I’m planning to switch to an Android device running an alternative OS with my next purchase after using iPhone exclusively since the 3g. That’s driven by a change in priorities: I want the freedom that comes from using a phone that isn’t a surveillance and advertising vehicle. For years now though, I’ve been enjoying the freedom of knowing my phone will continue to receive updates for a minimum of 5 years after I buy it new while some of my Android friends will be lucky if they get two.

  • I feel it’s important to note for new people that, while an immutable OS is great at keeping you from breaking your system, the way it achieves this can make some things you would want to do more difficult. In Bazzite, installing software, for example, works differently than under a typical distribution.

    I’ll give the example of two pieces of software that I use regularly: 1Password and Espanso. It took a fair bit of digging to figure out how to install 1Password in a way that would preserve its tight system integration… and it still doesn’t quite work — copying a password in particular contexts just doesn’t put that password on the clipboard, while it works fine in other contexts. Espanso on the other hand just won’t work under Bazzite best I can tell. I haven’t found a way to install it at all so I’m just doing without. Oh My ZSH was also quite tricky, and I got yelled at in the Bazzite Discord for doing it the wrong way. 😅

    Plenty of the software I use works fine and was easy to install: FreeTube, Kdenlive, VLC, Zen Browser… unless you count the fact that the 1Password browser integration just won’t work with Zen Browser, presumably because I haven’t found the exact right combination of Flatpak permissions plus settings that will allow it to.

    All this to say, I love Bazzite for gaming and use it every day, but the moment you step outside that world and want your computer to do something a little bit differently, it’s a major headache. In the context of gaming, it’s much closer to “just works” than any other distro I’ve tried.

  • Do you mind sharing how you handle backups?

  • I don't believe Portainer can notify of available updates. I can achieve this with Diun, but only within the tag specified in my docker-compose.

  • homelab @lemmy.ml
    RadDevon @lemmy.zip

    Updates vs. version pinning in Docker-based homelab

    I'm running a Docker-based homelab that I manage primarily via Portainer, and I'm struggling with how to handle container updates. At first, I had all containers pulling latest, but I thought maybe this was a bad idea as I could end up updating a container without intending to. So, I circled back and pinned every container image in my docker-compose files.

    Then I started looking into how to handle updates. I've heard of Watchtower, but I noticed the Linuxserver.io images all recommend not running Watchtower and instead using Diun. In looking into it, I learned it will notify you of updates based on the tag you're tracking for the container, meaning it will never do anything for my containers pinned to a specific version. This made me think maybe I've taken the wrong approach.

    What is the best practice here? I want to generally try to keep things up to date, but I don't want to accidentally break things. My biggest fear about tracking latest is that I make some other change in a docke

  • My brother used to work for an SEO company. They charged clients to have their web sites on directories which would improve their Google pagerank… until Google updated the algorithm to penalize sites listed in these directories. The company quickly pivoted to charging the same clients to have them removed from the directories they had just charged them to be listed in.

  • Oh, that’s helpful. Thank you for sharing that!

  • Turns out this was my goof. I was trying to set up auto-login on my user account. In doing so, I set it to automatically log in to Plasma (X11) instead of Plasma (Wayland). Odd that the default option in that dropdown is not the one you're currently using, but 🤷‍♂️.

    What I'm now trying to figure out is why I can't set auto-login for Plasma (Wayland). The Apply button is disabled. 🤔

    Thanks to everyone who shared ideas.

  • HDMI switcher is an interesting idea. Will it do more than just forward on the EDID? (Hope I have that right. 😅) Will it sorta translate it and push out its own EDID?

    The cable is one of the two cables that previously completed the chain between the display and computer. Could it still be a problem in spite of that?

  • Linux @lemmy.ml
    RadDevon @lemmy.zip

    No HDR option in Bazzite/KDE after connecting computer directly to display

    I am running Bazzite 40 on a system with an RTX 4080. Up until yesterday, I was connecting computer -> Samsung HW-Q900C soundbar -> Samsung Q90C TV. I learned that the soundbar doesn't have HDMI 2.1 ports which is why I hadn't been able to get 120Hz, so I changed my setup to computer -> TV + soundbar -> TV (eARC).

    Now, I do have 120Hz, but I lost a bunch of other options in my display settings, including HDR. The only options I can set there now are resolution, orientation, refresh rate, and scale. I suspect this is an issue with the TV communicating its capabilities in a way the OS doesn't understand, but I'm not sure how to fix or work around it. Can anyone suggest a fix? Is there a setting I can change on the TV or maybe an app I can run on the computer to manually set the TV's capabilities?

    Update: Just discovered kscreen-doctor. Here's the output:

     undefined
        
    Output: 445 HDMI-0
        enabled
        connected
        priority 1
        HDMI
        Modes:  446:3840x2160@60!  447:4096x2160@120  448:4096x2160@100  4
      
    Pop!_OS (Linux) @lemmy.world
    RadDevon @lemmy.zip

    Keyboard customization in profile not working until manually sourced

    I have a little one-line keyboard customization in my ~/.profile that is intended to make my caps lock key function as escape when pressed or ctrl when held.

     undefined
        
    # Map Caps Lock to Esc/Ctrl
    setxkbmap -option 'caps:ctrl_modifier' && xcape -e 'Control_L=Escape;Caps_Lock=Escape'
    
      

    It works… but only if I manually run source ~/.profile. The weird thing is that it kinda works without the manual intervention, but the caps lock also activates. This does not happen after manually sourcing.

    I thought this file was automatically sourced at login. If that's the case, shouldn't the customization work automatically without the file having to be manually sourced? Is there some service that needs to be running before this command fires that is not yet running when the file is automatically sourced? Struggling to understand what's happening here… 🤔

    Linux Gaming @lemmy.ml
    RadDevon @lemmy.zip

    Dealing with games that just won't run on Linux

    How are people coping with games that just won't run on Linux (aside from leaving them behind)? Do you dual boot Windows? Virtualize? What's your strategy for this?

    This will be extremely rare for me since I don't play a lot of competitive stuff, but I'd love to find a solution. I have a large library, and it's bound to happen from time to time.

    No Stupid Questions @lemmy.world
    RadDevon @lemmy.zip

    Why do most gaming laptops have vents on the bottom?

    If you're using the laptop as intended (i.e., on your lap), wouldn't those be almost entirely blocked?

    OldWeb @lemmy.ml
    RadDevon @lemmy.zip
    tinyawards.net Tiny Awards

    This is the home of the Tiny Awards, which, since 2023, has celebrated the best of the small, poetic, creative, handmade web.

    Tiny Awards