Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)UA
un_ax @lemmy.sdf.org
Posts 0
Comments 3
Need help understanding a back-up script
  • If you want to get more in depth, I've been using this container:

    https://github.com/jareware/docker-volume-backup

    It can be setup in the same compose or in it's own, and it supports pre/post commands if you want to dump a db or stop a container before backup.

    Additionally, Setting a post backup command like in their docs:

    POST_BACKUP_COMMAND: "docker run --rm -e DRY_RUN=false -e DAILY=3 -e WEEKLY=1 -e MONTHLY=1 -v /backup:/archive ghcr.io/jan-brinkmann/docker-rotate-backups"

    Lets you specify the number of backups retained per period, E.G. 3 daily, 1 weekly, 1 monthly.

    You could also mix and match.