Thanks to visit codestin.com
Credit goes to programming.dev

  • 1 Post
  • 87 Comments
Joined 3 years ago
Codestin Search App
Cake day: June 3rd, 2023

Codestin Search App

  • I’ve finally pinned down my backup automaton:

    • All my services are in podman containers/pods managed by systemd.
    • All services are PartOf= a custom containers.target.
    • All data is stored on btrfs sub volumes
    • I created a systemd service that Conflicts=containers.target for creating read only snapshots of the relevant subvolumes.
    • That service Wants=borgmatic.service wich creates a borg backup of the snapshots on a removable drive. It also starts containers.target on success or failure since the containers are not required to be stopped anymore.
    • After borg backup is done, the repository gets rclone synced to an S3 compatible storage.
    • This happens daily, though I might put the sync to S3 on a different schedule, depending how much bandwidth subsequent syncs will consume.

    What I’m not super happy about is the starting of containers.target via the systemd unit’s OnSuccess= mechanism but I couldn’t find an elegant way of stopping the target while the snapshots were being created and then restarting the target through the other dependency mechanisms.

    I also realize it’s a bit fragile, since subsequent backup steps are started even if previous steps fail. But in the worst case that should just lead to either no data being written (if the mount is missing) or backing up the same data twice (not a problem due to deduplication).



  • I have not used it myself but you should be able to run typical linux desktop software with steamos. That being said, I don’t think there’s gog galaxy for linux. You can use HeroicLauncher for GOG (and epic and prime gaming) instead.

    I think this post provides a pretty good high level introduction: https://www.gamingonlinux.com/guides/view/how-to-install-extra-software-apps-and-games-on-steamos-and-steam-deck/

    Alternatively, you could try a gaming focused Linux distribution like bazzite (based on fedora/ublue) which comes with a lot of gaming related stuff preinstalled or easy to install. The base system is mostly read only though and if you need the latest version of some software that’s not on flathub, it can be a little limiting.

    cachyos (based on arch) is a good alternative if you would like to be able to get your hands dirty tweaking your system or want more freedom wrt installing software.

    In any case, you should check https://www.protondb.com/ if your games are supported.

    Some games with certain anti cheat software can not be run (e.g. anything using vanguard, riot’s anti cheat).

    Do note that if you’re in the EU (or can convince Windows/Microsoft that you are, I assume) you should get Windows 10 patches for another year without doing anything.