Gavin Chappell
389f7c25dd
refactor downloading of binaries
...
* If `/tmp` is a `tmpfs` or somehow not the same filesystem, `os.Rename()` will fail so use `io.Copy()` instead
* don't defer cleanup of `to` as this removes the newly-created file if the operation is successful, making `install` and `upgrade` _functionally_ `uninstall`
* defer cleanup of the temporary file since it will still be in place if `os.Rename()` fails
Fixes : #130
3 years ago
cupcakearmy
ed3c17d678
migration docs
3 years ago
cupcakearmy
c55e91b8ff
version bump
3 years ago
cupcakearmy
170bdb81ad
tags
3 years ago
cupcakearmy
113a97c283
add config version to ensure compatibility
3 years ago
cupcakearmy
cd7a5cbc13
also enable azure and google cloud
3 years ago
cupcakearmy
3dd3956d64
support for rclone
3 years ago
cupcakearmy
59035da46a
remove output
3 years ago
cupcakearmy
a68e3e426e
simplify options handling
3 years ago
cupcakearmy
27e82c8529
Merge branch 'master' into multiple-paths
3 years ago
cupcakearmy
05c3458a95
version bump
3 years ago
cupcakearmy
2826f9586d
allow all values from envs
3 years ago
cupcakearmy
4fe241e6f3
support for multiple sources
3 years ago
cupcakearmy
d0b1b86fdd
docker runner
3 years ago
cupcakearmy
bcfc734cd1
describe multiple sources
3 years ago
cupcakearmy
6817f494ef
util to check if volume exists
3 years ago
cupcakearmy
7ad6f7ce9e
Merge remote-tracking branch 'origin/master' into multiple-paths
3 years ago
cupcakearmy
8c30134f7c
error handling for upgrade and uninstall
3 years ago
cupcakearmy
246e6fc0d8
enable generic env variables
3 years ago
cupcakearmy
c2f9ed9204
multiple paths
3 years ago
cupcakearmy
6be0a80b29
use built in function
3 years ago
cupcakearmy
efd4a7dfea
version bump
3 years ago
cupcakearmy
440609220c
support for global flags
3 years ago
cupcakearmy
83905d2993
specific location
3 years ago
cupcakearmy
0b5f4017e4
version bump
3 years ago
cupcakearmy
8cd759105f
env for hooks
3 years ago
cupcakearmy
6137e31c3b
allow argumentless flags
3 years ago
cupcakearmy
048a5ffed8
renamed env
3 years ago
cupcakearmy
02a8e461d4
ability to use keys from envs
3 years ago
cupcakearmy
86ae70672a
right version
3 years ago
cupcakearmy
20334a7e83
better config handling
3 years ago
cupcakearmy
7bebd04482
validate and show cwd
4 years ago
cupcakearmy
b9b8857bf4
aliases
4 years ago
cupcakearmy
a4b54f9f64
check config bugs
4 years ago
cupcakearmy
61673bd88b
allow options for backend
4 years ago
cupcakearmy
478e193d78
forgot version bump
4 years ago
cupcakearmy
e05386b0b5
add failure and success hooks
4 years ago
cupcakearmy
88c6949208
custom restic binary
4 years ago
cupcakearmy
d4522c7ffe
fix validation for docker volumes
4 years ago
cupcakearmy
c1795b2acc
lean flag
4 years ago
cupcakearmy
f3c038c716
changelog & version bump
4 years ago
cupcakearmy
33319a00ef
add arm for darwin
4 years ago
cupcakearmy
70eb9e441f
add rclone support
4 years ago
cupcakearmy
1c436369f0
check folder
4 years ago
cupcakearmy
6efcce07b7
show error and exit with bad code if not found
4 years ago
cupcakearmy
188560395d
exclude items from config when empty and rest options
4 years ago
cupcakearmy
873170c6d1
fix auto update
4 years ago
cupcakearmy
ea82fea8e1
add cron tag
4 years ago
cupcakearmy
a35edcaea5
version bump
4 years ago
cupcakearmy
86d44eafad
exit with better message
4 years ago
cupcakearmy
e927fd5a64
panic on already running
4 years ago
cupcakearmy
541a7c2a72
add autocompletetions
4 years ago
cupcakearmy
e671780e54
fix version upgrade
4 years ago
cupcakearmy
a5471efa21
check self update
4 years ago
cupcakearmy
976a3beab5
upgrade logic
4 years ago
cupcakearmy
276c424106
pass env of backends to restic
4 years ago
cupcakearmy
b314912821
describe backends
4 years ago
cupcakearmy
b1054f3512
info command
4 years ago
cupcakearmy
1bbd3879fe
make back compatible
4 years ago
cupcakearmy
8e13e7bc40
linting
4 years ago
cupcakearmy
6449b8999f
support for volume locations
4 years ago
cupcakearmy
3ccaee4066
cleaner output and ctrl-c
4 years ago
cupcakearmy
640b60c47f
current state
4 years ago
cupcakearmy
d293e93fa8
cron job
4 years ago
cupcakearmy
03ca0c8677
add key if not present
4 years ago
cupcakearmy
19e75c1dad
fixes
4 years ago
cupcakearmy
6e25b90915
unlock on error and named arrays for config
4 years ago
cupcakearmy
8a1fe41825
cron
4 years ago
cupcakearmy
5d92b5bcc1
dry run for forget cmd
4 years ago
cupcakearmy
05be58a3a7
restore cmd
4 years ago
cupcakearmy
335724cce7
progress
4 years ago
cupcakearmy
03cbbfd91c
go rewrite
4 years ago