• 1 Post
  • 14 Comments
Joined 3 years ago
cake
Cake day: April 19th, 2023

help-circle
  • My desktop PC running Fedora 43 goes to sleep in a weird way. When I was running Windows and the computer went to sleep the power button would blink and I could wake the PC with my keyboard or mouse. On Fedora the power button doesn’t blink (no big deal) and I can’t wake the PC with my keyboard or mouse, only the power button works.

    Another issue is if I have the option to turn the monitor off after a certain amount of time I cannot get it to wake from sleep. If I turn the monitor off and on there’s no signal. If the monitor goes to sleep because the PC goes to sleep it’s fine.

    Something randomly causes Firefox to hoover up all my computer’s RAM. I can tell my system is going to lock up because the fan on the CPU cooler ramps up. When Firefox finally sucks up all the RAM the entire desktop is unresponsive. I had to enable the system rescue keys and I sometimes have to manually trigger the OOM killer.

    Raw photo editing on Linux sucks. I’ve tried DarkTable, RawTherapee and some other program and didn’t like any of them. The UI is incredibly complex or blurry.






  • I made my own solution since I wasn’t impressed by projects I had found. There’s two parts, the backup image and the restore image.

    I use it like so:

    services:
      restore_sabnzbd:
        image: untouchedwagons/simple-restore:1.0.5
        container_name: restore_sabnzbd
        restart: no
        environment:
          - BACKUP_APPEND_DIRECTORY=/docker/production/sabnzbd
          - BACKUP_BASE_NAME=sabnzbd
          - FORCE_OWNERSHIP=1000:1000
        volumes:
          - sabnzbd:/data
          - /mnt/tank/Media/Backups:/backups
    
      sabnzbd:
        image: ghcr.io/onedr0p/sabnzbd:4
        container_name: sabnzbd
        restart: unless-stopped
        user: 1000:1000
        volumes:
          - sabnzbd:/config
          - /mnt/tank/Media/Usenet:/mnt/data/Usenet
        depends_on:
          restore_sabnzbd:
            condition: service_completed_successfully
        networks:
          - traefik_default
    
      backup_sabnzbd:
        image: untouchedwagons/simple-backup:1.1.0
        container_name: backup_sabnzbd
        restart: unless-stopped
        environment:
          TZ: "America/Toronto"
          BACKUP_APPEND_DIRECTORY: "/docker/production/sabnzbd"
          BACKUP_BASE_NAME: "sabnzbd"
          BACKUP_RETENTION: "24"
          BACKUP_FREQUENCY: "0 0 * * *"
        volumes:
          - sabnzbd:/data:ro
          - /mnt/tank/Media/Backups:/backups
          
    networks:
      traefik_default:
        external: true
    
    volumes:
      sabnzbd:
    

    The restore container looks for a file called RESTORED in /data and if one isn’t found it’ll try to restore the latest backup (if available) and then create a RESTORED file. The backup container ignores this file during backup.