• 4 Posts
  • 27 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.














  • Several corporations in the United States have been reported to use prison labor Walmart: Utilizes prison labor for manufacturing products and for supply chain operations.

    McDonald’s: Uses prison labor to produce uniforms and other items.

    Victoria’s Secret: Has used prison labor for manufacturing lingerie.

    AT&T: Employs prison labor for call center operations.

    Starbucks: Uses prison labor for packaging products.

    Microsoft: Utilizes prison labor for refurbishing and recycling electronic equipment.

    Boeing: Engages prison labor for manufacturing parts.

    Nordstrom: Uses prison labor for product manufacturing.

    Target: Employs prison labor for manufacturing and packaging.

    Whole Foods: Uses prison labor for packaging products.

    BP: Utilizes prison labor for various operations. Caterpillar: Engages prison labor for manufacturing parts.

    Chevron: Uses prison labor for various operations. Eddie Bauer: Employs prison labor for manufacturing products.

    Kmart: Uses prison labor for manufacturing and packaging.