GNAI-025: Fluxer-Chat-LXC CT 117 — komplett in Betrieb (fluxer.ghostnet.selfhost.eu) #21

Merged
spektr merged 72 commits from lxc/ct-117-gnai-025-fluxer-chat into main 2026-11-30 04:49:27 +01:00
2 changed files with 7 additions and 9 deletions
Showing only changes of commit 69cfa09a3d - Show all commits
@@ -3,8 +3,6 @@ Description=Monthly restic check of the Litecoin wallet backup repository
[Service]
Type=oneshot
Environment=RESTIC_REPOSITORY={{ litecoin_backup_repository }}
Environment=RESTIC_PASSWORD_FILE={{ litecoin_backup_password_file }}
Environment=SSH_AUTH_SOCK=
ExecStart=/usr/bin/restic -o sftp.command="ssh -F {{ litecoin_backup_ssh_config }}" check --read-data-subset=5%
ExecStart=/usr/bin/restic check --read-data-subset=5% -r {{ litecoin_backup_repository }} -o sftp.command="ssh -F {{ litecoin_backup_ssh_config }}" --password-file {{ litecoin_backup_password_file }}
Nice=10
@@ -21,12 +21,12 @@ today="$(date +%F)"
/opt/litecoin/bin/litecoin-cli -conf=/etc/litecoin/litecoin.conf \
backupwallet "${backup_dir}/wallet-${today}"
/usr/bin/restic -r "$RESTIC_REPOSITORY" \
/usr/bin/restic backup "$backup_dir" \
-r "$RESTIC_REPOSITORY" \
-o "sftp.command=$SFTP_COMMAND" \
--password-file "$RESTIC_PASSWORD_FILE" \
backup "$backup_dir"
--password-file "$RESTIC_PASSWORD_FILE"
/usr/bin/restic -r "$RESTIC_REPOSITORY" \
/usr/bin/restic forget --keep-daily {{ litecoin_backup_keep_daily }} --prune \
-r "$RESTIC_REPOSITORY" \
-o "sftp.command=$SFTP_COMMAND" \
--password-file "$RESTIC_PASSWORD_FILE" \
forget --keep-daily {{ litecoin_backup_keep_daily }} --prune
--password-file "$RESTIC_PASSWORD_FILE"