mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-09-07 19:10:39 +00:00
Compare commits
2 Commits
b043bde96c
...
v1.7.9
Author | SHA1 | Date | |
---|---|---|---|
|
f67bb7f73c | ||
|
530b1b646c |
@@ -6,7 +6,7 @@ RUN go mod download
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN go build
|
RUN go build
|
||||||
|
|
||||||
FROM restic/restic:0.15.1
|
FROM restic/restic:0.16.0
|
||||||
RUN apk add --no-cache rclone bash
|
RUN apk add --no-cache rclone bash
|
||||||
COPY --from=builder /app/autorestic /usr/bin/autorestic
|
COPY --from=builder /app/autorestic /usr/bin/autorestic
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
@@ -8,12 +8,6 @@ Autorestic requires `bash`, `wget` and `bzip2` to be installed. For most systems
|
|||||||
wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash
|
wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash
|
||||||
```
|
```
|
||||||
|
|
||||||
Or for custom install paths.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | OUT_FILE=~/.local/bin/autorestic bash
|
|
||||||
```
|
|
||||||
|
|
||||||
## Alternatives
|
## Alternatives
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
@@ -2,11 +2,7 @@
|
|||||||
|
|
||||||
shopt -s nocaseglob
|
shopt -s nocaseglob
|
||||||
|
|
||||||
# set OUT_FILE to custom install path
|
OUT_FILE=/usr/local/bin/autorestic
|
||||||
# wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | OUT_FILE=~/.local/bin/autorestic bash
|
|
||||||
if [[ -z $OUT_FILE ]]; then
|
|
||||||
OUT_FILE=/usr/local/bin/autorestic
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Type
|
# Type
|
||||||
NATIVE_OS=$(uname | tr '[:upper:]' '[:lower:]')
|
NATIVE_OS=$(uname | tr '[:upper:]' '[:lower:]')
|
||||||
|
@@ -17,7 +17,7 @@ import (
|
|||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
||||||
const VERSION = "1.7.7"
|
const VERSION = "1.7.9"
|
||||||
|
|
||||||
type OptionMap map[string][]interface{}
|
type OptionMap map[string][]interface{}
|
||||||
type Options map[string]OptionMap
|
type Options map[string]OptionMap
|
||||||
|
Reference in New Issue
Block a user