I’ve recently been trying to containerize as much as I can to make my self-hosted system portable by simply backing up my docker data folder.

One thing I’m struggling with is whether or not to containerize a few system crons that I use for maintenance (for example, using wget to update some files, and using chmod to make sure my file permissions remain on point).

What I’d like to avoid is having to manually backup my crontab. Maybe I’m overthinking it, but any advice one way or another? Should I bother? Any disadvantages? Any docker image folks would recommend aside from a base alpine image?

  • Minituff@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I actually Containerized one of my CRON jobs that used rsync to copy my container volumes to my TrueNAS server (link).

    I think it’s a good idea and you’ll learn a lot along the way. Plus if you open source it then it will be way easier for people to get it up and running.