• 9 Posts
  • 93 Comments
Joined 2 years ago
cake
Cake day: April 19th, 2023

help-circle
  • 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.




  • I have a folder called “Let’s Plays” with sub-folders like so:

    • Among Us with Jeremy Dooley
    • Factorio with Zisteau - Space Exploration
    • Minecraft with GoodTimesWithScar - HermitCraft
    • Rimworld with Mr Samuel Streamer - Mushroom Madness

    In each of those folders I have folders for each “season” (for long-going series the seasons are by year (Season 2024) but are otherwise “season 1”)

    Then the videos/thumbnails themselves are like this:

    untouchedwagons@storage:/mnt/tank/Media/Videos/Let's Plays/R/Rimworld with Mr Samuel Streamer - Mushroom Madness$ ls *
    'Season 1':
    'Rimworld with Mr Samuel Streamer - Mushroom Madness - S01E01 - The Mushroom Apocalypse.jpg'
    'Rimworld with Mr Samuel Streamer - Mushroom Madness - S01E01 - The Mushroom Apocalypse.mp4'
    'Rimworld with Mr Samuel Streamer - Mushroom Madness - S01E02 - Taking Back the City.jpg'
    'Rimworld with Mr Samuel Streamer - Mushroom Madness - S01E02 - Taking Back the City.mp4'
    'Rimworld with Mr Samuel Streamer - Mushroom Madness - S01E03 - How Far Would You Go_.jpg'
    'Rimworld with Mr Samuel Streamer - Mushroom Madness - S01E03 - How Far Would You Go_.mp4'
    'Rimworld with Mr Samuel Streamer - Mushroom Madness - S01E04 - Scientific Breakthrough.jpg'
    'Rimworld with Mr Samuel Streamer - Mushroom Madness - S01E04 - Scientific Breakthrough.mp4'
    

    In Jellyfin I have a library for these Let’s Plays that are separate from my regular TV Shows.

    I use JDownloader 2 to download youtube videos. I normally only download two to three videos a day so doing it all manually isn’t that big of an ask, though editing metadata on mkv’s is a bit of a pain.