cross-posted from: https://lemmy.ml/post/54692477

i’m setting up plakar as a backup tool and i wanted to use some systemd service and timer files to trigger the backups automatically. the issue is that doing so requires the plakar passhprase. what is the best way to handle this? because the best options seem to require interactivity and i need a non interactive solution. is the standard solution to simply let the passphrase as a plaintext or what?

  • adr1an@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    21 days ago

    I just pass env files to containers, don’t know if I could be doing it anything more robust or safe. I did encrypt the partition though.

    • ghost_laptop@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      21 days ago

      yeah, i do the same and it’s a very similar situation now that you mention it. although you could say that maybe some containers don’t hold information that’s very critical or something sometimes. also since you could backup the container with plakar it could be considered a higher security concern i guess? i also have my partition encrypted.

    • Ooops@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      21 days ago

      Which is what Plakar suggests, too, as their cli tool reads the PLAKAR_PASSPHRASE environmental variable.