New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restic 0.16.3 issue on Windows 7 #4636
Comments
It's not |
It's somewhat unintended that Windows 7 is no longer supported, although it's not surprising given that Windows 7 has been EOL (the extended EOL deadline!) for more than a year by now. However, as the |
Thanks for the information. Unfortunately I do not know much about |
@tiker You can try this @echo off
set RESTIC_URL=https://github.com/restic/restic/releases/download/v0.16.3/restic-0.16.3.tar.gz
set GO_BIN_URL=https://go.dev/dl/go1.21.3.windows-amd64.zip
set GO_SRC_URL=https://go.dev/dl/go1.21.6.src.tar.gz
set BAD_COMMIT_URL=https://github.com/golang/go/commit/9e43850a3298a9b8b1162ba0033d4c53f8637571.diff
set BUSYBOX_URL=https://frippery.org/files/busybox/busybox64.exe
set BUSYBOX="%~dp0busybox64.exe"
if not exist %BUSYBOX% powershell -Command (New-Object System.Net.WebClient^).DownloadFile('"%BUSYBOX_URL%"','"%BUSYBOX%"'^)
if not exist go1.*.windows-amd64.zip (%BUSYBOX% wget %GO_BIN_URL% || exit)
if not exist go (%BUSYBOX% unzip -q go1.*.windows-amd64.zip || exit)
if not exist go1.*.src.tar.gz (%BUSYBOX% wget %GO_SRC_URL% || exit)
if not exist src (md src && %BUSYBOX% tar x -z --strip-components 1 -C src -f go1.*.src.tar.gz || exit)
pushd src
if not exist *.diff (%BUSYBOX% wget %BAD_COMMIT_URL% && %BUSYBOX% patch -p 1 -R -i *.diff || exit)
pushd src
if not exist ..\bin\go.exe (set GOROOT_BOOTSTRAP=%~dp0go&& call make.bat || exit)
popd && popd
if not exist restic-0.*.tar.gz (%BUSYBOX% wget %RESTIC_URL% || exit)
if not exist restic (md restic && %BUSYBOX% tar x -z --strip-components 1 -C restic -f restic-0.*.tar.gz || exit)
pushd restic && set path=%~dp0\src\bin&& go.exe run build.go && move /y restic.exe .. && popd Just put it in |
Did the new version of Restic 0.16.3 drop support for Windows 7?
Running 0.16.2 worked fine. Updated to 0.16.3 with
restic self-update
:After this, all attempts to run restic.exe fail with an error which would appear to be related to compiling issues or dropping support for Windows 7 (which I don't see mentioned in the release notes).
I have manually downloaded the file from the Github release page and attempted to run it, still fails with the following:
Previous version:
The text was updated successfully, but these errors were encountered: