• 3 Posts
  • 22 Comments
Joined 2 years ago
cake
Cake day: June 18th, 2023

help-circle






  • Rade0nfighter@lemmy.worldtoLinux@lemmy.mlBackup solution for docker volumes
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    2 months ago

    This is a classic conundrum.

    Containers and their volumes are supposed to be ephemeral (right?).

    Yet we use them to run little apps where we configure settings etc in the app which we would like to “keep” - thus back up. Yes in a proper set up you would hook your container up to something that is not ephemeral like a database somewhere, but often we just want an app, see it’s got a self contained docker image, and just run it.

    Whilst not in the spirit of things… I’ve tried using Borg backup however it just fails due to random permissions on the volumes.

    I should spend more time looking into it but haven’t the time right now, could be the solution is specific to the app/container but the simplicity of just backing up a /volumes/* directory is soooo tempting…

    Edit upon reflection, what about a sudo cron tab to zip volumes and set useful permissions on the zip. Then Borg to backup the zip. Borg (or at least vorta) can easily run scripts before/after and pass variables relating to the backup though.










  • Controversial but I was surprised at how well trump did for himself.

    He managed to dial down the lies and rhetoric from “how stupid does he think the audience is” to “obviously bullshit”.

    Well done to Harris of course, in particular for calling his playbook tactics out at the start, then repeatedly calling out the lies and dog whistling each time - the way to beat a manipulating bully is to shine a light on their behaviour plainly in public and she nailed it.

    Bonus points to Harris as well for laughing at him whilst maintaining class.