• 0 Posts
  • 993 Comments
Joined 2 years ago
cake
Cake day: July 18th, 2023

help-circle





  • Looks like there is a config and cache location in their docker scripts. The easiest way to make a docker application portable is to bind mount the config and cache. That way you have access to the actual files and could copy them to your windows partition.

    If you’re already using a volume for that data, I think it becomes a bit trickier. I know technically you can move or copy volumes, but I’ve never tried. Although you could still bind mount a random directory and still copy the files out.






  • jacksilver@lemmy.worldtoSelfhosted@lemmy.worldDocker Backup Stratagy
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    14 days ago

    Yep, bind mount the data and config directories and back those up. You can test a backup by spinning up a new container with the data/config directories.

    This is both easy and generally the recommended thing I’ve seen for many services.

    The only thing that could cause issues is breaking changes caused by the docker images themselves, but that’s an issue regardless of backup strategy.








  • Yeah, but sizing is user dependent. So unless it’s based on the users purchasing history it’s useless what the average person does.

    If it said “L is your recommended size based on your purchase habits and customer data”, then sure. But it just says we recommend L because that’s what other people said/ordered, which makes no sense.



  • Just want to expand on this as it’s the most direct explanation.

    With two die there are 6 ways to you can roll a seven (each side has one way to add up to seven), and 36 total combinations (6 sides * 6 sides). So the odds are 6 times out of 36 or 6/36.

    With one weighted die, you have a set value (say 3 for example). There is only one side on the other die that will equal 7 (4 in our example). So you have 1 out of 6 possibilities, or 1/6 chance.

    However, this is only true for 7. If you were targeting 2 for example, the odds can change substantially. Normally you have one way to get 2 (1 and 1) so you’d have 1 out of 36 possible rolls or 1/36. If the weighted die was weighted to 6 though, you’d never be able to get 2, so your odds would be 0.