Upgrading to latest release? #101
-
Hello! This tool is awesome! Thank you! Now that that's said, I have Backrest installed on a Pi using the installer script. How do I upgrade to the latest build? Should I just download the latest release and rerun the installer script? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi, sorry I missed this for a few days. Yep! Rerunning the install.sh script is the intended upgrade path at the moment. It’s expected to safely stop, replace, and restart the currently running version. |
Beta Was this translation helpful? Give feedback.
-
I just whipped up this script to update backrect on my Debian server if it helps: #!/bin/bash
# Create temp folder
mkdir backrest-upgrade && cd backrest-upgrade
# Find and download the latest release (requires curl and jq)
curl -sL "$(curl -s https://api.github.com/repos/garethgeorge/backrest/releases | jq -r '.[0].assets[] | select(.name == "backrest_Linux_x86_64.tar.gz") | .browser_download_url')" -o backrest_Linux_x86_64.tar.gz
# Extract/Install
tar -xzvf backrest_Linux_x86_64.tar.gz
./install.sh
# Cleanup
cd ..
rm -r backrest-upgrade I added some environment variables to my systemd service but I did this using an override ( |
Beta Was this translation helpful? Give feedback.
Hi, sorry I missed this for a few days. Yep! Rerunning the install.sh script is the intended upgrade path at the moment. It’s expected to safely stop, replace, and restart the currently running version.