Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)LE
Posts
10
Comments
436
Joined
2 yr. ago

  • I tried to find this on DDG but also had trouble so I dug it out of my docker compose

    Use this docker container:

    prodrigestivill/postgres-backup-local

    (I have one of these for every docker compose stack/app)

    It connects to your postgres and uses the pg_dump command on a schedule that you set with retention (choose how many to save)

    The output then goes to whatever folder you want.

    So have a main folder called docker data, this folder is backed up by borgmatic

    Inside I have a folder per app, like authentik

    In that I have folders like data, database, db-bak etc

    Postgres data would be in Database and the output of the above dump would be in the db-bak folder.

    So if I need to recover something, first step is to just copy the whole all folder and see if that works, if not I can grab a database dump and restore it into the database and see if that works. If not I can pull a db dump from any of my previous backups until I find one that works.

    I don't shutdown or stop the app container to backup the database.

    In addition to hourly Borg backups for 24 hrs, I have zfs snapshots every 5 mins for an hour and the pgdump happens every hour as well. For a homelab this is probably more than sufficient

  • FUTO Keyboard app

    Jump
  • So far it seems quite impressive. Also has scroll on spacebar swipe which I wasn't expecting but is a great touch.

    Not sure I can live without a gif search but given that would require network access and reduce privacy, maybe it makes sense to just change to gboard when needing gif search then switch back for everything else. Not too annoying so far.

    I've been meaning to try helisboard buy having to add in the swipe and then also add in futo voice to text felt like a project and this is an all in one which is great.

  • Fair enough, I primarily use NFS for Linux to Linux sever communication and high file access.

    Smb is mostly for moving files around occasionally

    Not sure if trying to run a database over smb is a good idea but I do it on NFS all the time

    Regardless it doesn't have to be exclusive. OP can change it up depending on the application

  • You can use both without issue. I use NFS to share between two Linux servers (unraid and proxmox/dockers) and then some of those same folders are shared via smb for desktop windows or Linux laptop.

  • Just checked, it's working fine for me Seadroid: 3.0.0 (from fdroid) Server: 11.0.8 Pixel 8 android

    It was working for me before as well with the 2.3.x version that I was using (don't know the exact version)

    For example, in my aegis, I can select backup folders then in the file browser, seafile shows up and lets me select a folder for backup as expected.

    You could try restarting the phone in case it's a weird android issue. Then you could try 3.0.0 seadroid.

    What happens when you select the 3 line button on the top left? For it shows seadrive.

  • 100% this. Sleep on Linux is perfect in my older XPS (after I manually enable it). Lots of reports of it not working on newer laptops.

    While I agree it doesn't have to be a walled garden, you do have to admit that apple wouldn't ship a laptop that couldn't sleep properly. They are so much better at real world design than other manufacturers who were happy to abandon s3 in favour of making laptops into phones as if anyone actually wanted that.

  • This. S0idle was pushed by Microsoft and Intel and amd followed. Now all new non apple CPUs are an embarrassment when it comes to sleep ability which essentially any normal person would expect without thinking about it so when they buy a brand new laptop and it ends up with a dead batter every morning people immediately just buy a Mac and get a much better experience.

    Just completely shooting themselves in the foot. Same story with shitty laptop screens for nearly 5 years while Macs had retina displays.

  • I have an older XPS where where the CPU still supports deep sleep (S3).

    Most distros have it disabled by default now because neither AMD not Intel seem to officially support it in new CPUs (so windows will have the same problem)

    To check if your cpu supports it, you can run: journalctl | grep S1

    You should see a message that says something like CPU supports S1 S2 S3 etc. if S3 is there then deep sleep is supported and can be enabled.

    Ubuntu instructions: https://askubuntu.com/questions/1029474/ubuntu-18-04-dell-xps13-9370-no-longer-suspends-on-lid-close/1036122#1036122

    Fedora desktop or atomic instructions: https://discussion.fedoraproject.org/t/laptop-appears-to-sleep-but-not-suspend/77193/4

    Note, this is purely the fault of CPU manufacturers for being so shitty about proper sleep and yet another point that has to be conceeded to apple. Imagine explaining to a normal person that your XPS is really good and way cheaper than a Mac...but the batter will die overnight when you need it in the morning. Literally just shooting themselves in the foot.

    Hibernate works as well but takes a bit longer. Hibernate also crashes in many modern systems but again works great in my older XPS. You have to manually activate this as well and it's really not to bad with a good ssd.

    That being said his should all be very basic functionality so why do I have to do this manually. This shit is why people buy Macs.

    There's also room for distros to improve here. The installer can probe the CPU and see if S3 is supported, if so it can use deep sleep automatically. Why do I have to mess with Kernal arguments?

    Similar for hibernate, why doesn't the installer just have a check box that sets up the hibernate file/partition?

  • Self hosted AI seems like an intriguing option for those capable of running it. Naturally this will always be more complex than paying someone else to host it for you but it seems like that's that only way if you care about privacy

    https://github.com/mudler/LocalAI

  • Actually yes. Fedora atomic has a system called toolbox that uses podman to encapsulate desktop apps. Flatpak also provides a sandboxed container.

    The idea is to keep the OS and apps separate as much as possible for both security and stability.

  • I don't think xpipe would work, it needs too many permissions.

    Something like seafile would work, better than overlaying it I guess but still isn't park of a package manager with easy auto updates etc like it would be if the devs published to flatpak.

    At the end of the day it's a lot more work that the promise of opening discover, searching an app and hitting install.