Boris Bera
6895df1c83
fix(config): fix config marshaling producing unreadable config file ( #402 )
...
There are two practical changes when the config gets updated:
- The `forgetoption` and `configoption` bug is now gone
- Superfluous config keys no longer get written out
2 months ago
Boris Bera
41e4e4a5f3
fix(cron): crash when errors are encountered during a backup ( #403 )
2 months ago
Niccolo Borgioli
592d1093ac
bump version
4 months ago
Boris Bera
776638e6fe
fix(backend): treat all special chars as `_` in env ( #382 )
4 months ago
Boris Bera
bc74d3f13e
Add option to crash `autorestic` when key is missing instead of generating a new key ( #383 )
...
* feat(backend): add requireKey option to backend
This option will prevent `autorestic` from generating a key and will
cause it to crash instead. This is intended for use cases where you want
to provision the key yourself and don't want `autorestic` to
accidentally generate one for you.
* doc(backend): document requireKey
4 months ago
Nicco
e4b33cad1f
version bump
9 months ago
Tucker Kern
a82273ec13
Allow REST backend with docker volumes ( #366 )
9 months ago
Nicco
6e34196220
Update config.go
10 months ago
Nicco
edb3ba35d8
Update config.go
10 months ago
Stuart Hickinbottom
13aa560fda
Add PreValidate hook ( #359 )
...
Fix #332 .
This adds a new "PreValidate" hook that is executed before checking
the backup location. This allows, for example, mounting a remote
source to make the directories of the location available.
"PreValidate" is added as a new hook to avoid any breakage that might
have been caused by changing the behaviour of the "before" hook.
Documentataion updates included.
10 months ago
rdelaage
bbb1c85cad
Fix upgrade command ( #259 )
...
fix #191
Co-authored-by: Romain de Laage <romain.delaage@rdelaage.ovh>
10 months ago
rdelaage
4848702929
Use options on exec command ( #253 )
...
Co-authored-by: Romain de Laage <romain.delaage@rdelaage.ovh>
10 months ago
Nicco
b5604b8b9f
update deps ( #353 )
11 months ago
Niccolo Borgioli
ced20801c1
bump version
12 months ago
Christoph Loy
f67bb7f73c
Bump version to 1.7.9 ( #325 )
1 year ago
cupcakearmy
2c5266c9a0
fix build system
2 years ago
Nicco
087b293c39
version bump
2 years ago
Andreas
112a69d743
Allow env variables in path for rest backend ( #280 )
2 years ago
Nicco
c82db56069
Update config.go
2 years ago
Mariusz Kozakowski
1512db5b55
Fix regexp for AddedExtractor ( #284 )
...
Co-authored-by: mariom <11mariom@gmail.com>
2 years ago
Nicco
74979e9a2a
Update config.go
2 years ago
Romain de Laage
3732dcf6ff
Check for errors on forget after having backuped ( #241 )
2 years ago
Nicco
4d9a2b828e
Update config.go
2 years ago
Chosto
b830667264
Use options when calling check or init ( #199 )
2 years ago
John Burkhardt
83eeb847ac
Add command line flag to override docker image. ( #233 )
2 years ago
Romain de Laage
2f407cf211
Add forget for copy backend ( #223 )
...
fix #221
2 years ago
Nicco
489f3078fe
bump version
2 years ago
Romain de Laage
e07dd0d991
Don't check if path is a directory ( #220 )
...
We only run a stat on the path to check there is no error
2 years ago
kenc
2b9dc9f17c
Add test for locking behaviour ( #211 )
3 years ago
kenc
465bc037c2
Add lock tests ( #209 )
...
* Add lock tests
* Refactor setLock to accept key value pairs
This allows SetCron and Lock to use the same function setLockValue. It
also removes the need to call getLock explicitly in tests by returning
the lock object.
3 years ago
kenc
37a043afff
Add location unit tests ( #208 )
3 years ago
kenc
e91b632181
Add backend unit tests ( #207 )
3 years ago
kenc
2b30998b9a
Add options parsing unit tests ( #205 )
...
* Add options parsing unit tests
* Refactor into subtests
3 years ago
cupcakearmy
3bc091f826
lean flag
3 years ago
Nicco
5bcf5c9217
1.7.0 ( #188 )
...
* stream the output (#186 )
* dont duplicate global flags (#187 )
* docs for tagging
* fix self update path (#190 )
* version bump & changelog
3 years ago
cupcakearmy
ff2e3714d1
1.6.2
3 years ago
Nicco
434862ed4e
1.6.0 ( #180 )
...
* fix for #178
* restore options
* error codes
* update docs
* forget docs
* add option to auto forget
* add copy option
* update go version to enable generics
* copy docs
* changelog & version bump
3 years ago
cupcakearmy
8b74a98836
better error handling
3 years ago
cupcakearmy
8a713e497d
add ssh & update deps
3 years ago
cupcakearmy
5afad86e37
1.5.6
3 years ago
cupcakearmy
d85470459f
fix home directory
3 years ago
cupcakearmy
db9f5dea66
1.5.4
3 years ago
cupcakearmy
92feaef5bb
version bump
3 years ago
cupcakearmy
2a7e233cdb
only check on config if it is getting used
3 years ago
cupcakearmy
ec9e2aebcd
1.5.2
3 years ago
Jan
65ba1f6ac1
Make a copy of config before overriding it
3 years ago
cupcakearmy
982f9e0b5c
better error handling
3 years ago
cupcakearmy
0c37af5588
#140 Docker version pinning
3 years ago
cupcakearmy
2b14e6b1af
remove print
3 years ago
Nicco
1810af8d02
Merge pull request #137 from g-a-c/issues/130
...
refactor downloading of binaries
3 years ago