Boris Bera
8de8d0070e
chore: move lockfile code to internal module
...
In a future commit, I'll need the lockfile code to access the config
file. This solves an import cycle.
2 months ago
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
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
Romain de Laage
3732dcf6ff
Check for errors on forget after having backuped ( #241 )
2 years ago
Chosto
b830667264
Use options when calling check or init ( #199 )
2 years ago
Romain de Laage
2f407cf211
Add forget for copy backend ( #223 )
...
fix #221
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
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
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
db9f5dea66
1.5.4
3 years ago
cupcakearmy
982f9e0b5c
better error handling
3 years ago
cupcakearmy
170bdb81ad
tags
3 years ago
cupcakearmy
a68e3e426e
simplify options handling
3 years ago
cupcakearmy
4fe241e6f3
support for multiple sources
3 years ago
cupcakearmy
c2f9ed9204
multiple paths
3 years ago
cupcakearmy
6be0a80b29
use built in function
3 years ago
cupcakearmy
440609220c
support for global flags
3 years ago
cupcakearmy
83905d2993
specific location
3 years ago
cupcakearmy
8cd759105f
env for hooks
3 years ago
cupcakearmy
6137e31c3b
allow argumentless flags
3 years ago
cupcakearmy
7bebd04482
validate and show cwd
4 years ago
cupcakearmy
a4b54f9f64
check config bugs
4 years ago
cupcakearmy
61673bd88b
allow options for backend
4 years ago
cupcakearmy
e05386b0b5
add failure and success hooks
4 years ago
cupcakearmy
d4522c7ffe
fix validation for docker volumes
4 years ago
cupcakearmy
c1795b2acc
lean flag
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
ea82fea8e1
add cron tag
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