From 42a2739db64ff5d9746f7f816e669f95908ea8bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Slavi=C5=A1a=20Are=C5=BEina?= <58952836+tremor021@users.noreply.github.com> Date: Tue, 13 Jan 2026 08:10:06 +0100 Subject: [PATCH] Backrest: Bump to Trixie (#10758) * Bump to trixie * Update --- ct/backrest.sh | 2 +- frontend/public/json/backrest.json | 4 ++-- install/backrest-install.sh | 12 ++++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ct/backrest.sh b/ct/backrest.sh index 6a6c13797..5094940e1 100644 --- a/ct/backrest.sh +++ b/ct/backrest.sh @@ -11,7 +11,7 @@ var_cpu="${var_cpu:-1}" var_ram="${var_ram:-512}" var_disk="${var_disk:-8}" var_os="${var_os:-debian}" -var_version="${var_version:-12}" +var_version="${var_version:-13}" var_unprivileged="${var_unprivileged:-1}" header_info "$APP" diff --git a/frontend/public/json/backrest.json b/frontend/public/json/backrest.json index 0c2fc5b60..40baf6608 100644 --- a/frontend/public/json/backrest.json +++ b/frontend/public/json/backrest.json @@ -12,7 +12,7 @@ "documentation": "https://garethgeorge.github.io/backrest/introduction/getting-started", "website": "https://garethgeorge.github.io/backrest", "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/backrest.webp", - "config_path": "/opt/backrest/config/config.json", + "config_path": "/opt/backrest/config/config.json | /opt/backrest/.env", "description": "Backrest is a web-accessible backup solution built on top of restic and providing a WebUI which wraps the restic CLI and makes it easy to create repos, browse snapshots, and restore files. Additionally, Backrest can run in the background and take an opinionated approach to scheduling snapshots and orchestrating repo health operations.", "install_methods": [ { @@ -23,7 +23,7 @@ "ram": 512, "hdd": 8, "os": "debian", - "version": "12" + "version": "13" } } ], diff --git a/install/backrest-install.sh b/install/backrest-install.sh index d549d728d..cc14b21c8 100644 --- a/install/backrest-install.sh +++ b/install/backrest-install.sh @@ -16,6 +16,13 @@ update_os fetch_and_deploy_gh_release "backrest" "garethgeorge/backrest" "prebuild" "latest" "/opt/backrest/bin" "backrest_Linux_x86_64.tar.gz" msg_info "Creating Service" +cat </opt/backrest/.env +BACKREST_PORT=9898 +BACKREST_CONFIG=/opt/backrest/config/config.json +BACKREST_DATA=/opt/backrest/data +XDG_CACHE_HOME=/opt/backrest/cache +EOF + cat </etc/systemd/system/backrest.service [Unit] Description=Backrest @@ -24,10 +31,7 @@ After=network.target [Service] Type=simple ExecStart=/opt/backrest/bin/backrest -Environment="BACKREST_PORT=9898" -Environment="BACKREST_CONFIG=/opt/backrest/config/config.json" -Environment="BACKREST_DATA=/opt/backrest/data" -Environment="XDG_CACHE_HOME=/opt/backrest/cache" +EnvironmentFile=/opt/backrest/.env [Install] WantedBy=multi-user.target