Is it okay to store Backrest/Restic within the stacks managed by Dockge?
from bergetfew@sopuli.xyz to selfhosted@lemmy.world on 24 Jul 00:44
https://sopuli.xyz/post/30872811

Just a quick question on whether it is alright to have Dockge manage the Backrest/Restic container as one of its stack.

Currently my main directory is as follows:

I only have Dockge running as an independent container whose data is inside its respective folder. Every other container is managed via the stacks and all volumes are stored in their respective stack folders.

For context, I just want to back up the ~/docker directory and I am only planning to store the data in the same local machine for the time being but I wish to be able to import it to a different drive in the future. I just want a simple backup solution that is reliable and easy to manage.

Since it’s my first time setting up a backup solution like this, if you have useful advice on the steps for properly backing up data for my config, I would really appreciate it.

#selfhosted

threaded - newest

sxan@midwest.social on 24 Jul 14:33 collapse

What do you mean by “all right?” What are your concerns?

restic backups are encrypted by default; it should be safe to store them almost anywhere in the cloud. The container needs the credentials, but you can improve security with something like OpenBAO (Hashicorp Vauly fork, github.com/openbao/openbao), SOPS (gitgub.com/getsops/sops), infisical (github.com/Infisical/infisical), or any number of other secrets management tool.