Skip to content

Commit

Permalink
Merge pull request #1 from nijave/nv-upgrade-instructions
Browse files Browse the repository at this point in the history
Add update instructions
  • Loading branch information
nijave authored Apr 18, 2020
2 parents 5105c5a + ac0e1c0 commit 03682e0
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,17 @@
Install using Powershell to run `install.ps1`
```
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://github.com/nijave/borg-windows-package/releases/download/latest/install.ps1'))"
```
```

## Update
Update cygwin (from Windows)
```
C:\tools\cygwin\cygwinsetup.exe --no-desktop --no-shortcuts --no-startmenu --quiet-mode
```
Upgrade borgbackup
```
rm borgbackup*.whl
LATEST_WHL=$(curl -s https://github.com/gitapi/repos/nijave/borg-windows-package/releases/latest | grep -E "https://.*?\.whl" | cut -d '"' -f 4)
curl -LO "$LATEST_WHL"
pip install -U borgbackup*.whl borgmatic
```

0 comments on commit 03682e0

Please sign in to comment.