Skip to content

Commit

Permalink
Merge pull request #32 from NethServer/sdl-7003
Browse files Browse the repository at this point in the history
Remove unused ADMIN_PASSWORD environment variable and add state/password.env to backup include patterns NethServer/dev#7003
  • Loading branch information
stephdl authored Sep 4, 2024
2 parents 99d9734 + c10012b commit fd52354
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion imageroot/actions/restore-module/06copyenv
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ for evar in [
"TRAEFIK_HOST",
"TRAEFIK_HTTP2HTTPS",
"TRAEFIK_LETS_ENCRYPT",
"ADMIN_PASSWORD",
]:
agent.set_env(evar, original_environment[evar])

Expand Down
7 changes: 7 additions & 0 deletions imageroot/etc/state-include.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# state/backup include patterns for Restic
# Syntax reference: https://pkg.go.dev/path/filepath#Glob
# Restic --files-from: https://restic.readthedocs.io/en/stable/040_backup.html#including-files
# List here what you want to save during backup : volumes or file Path

state/password.env

0 comments on commit fd52354

Please sign in to comment.