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
2024-11-04 15:20:42 +01:00
Boris Bera
41e4e4a5f3
fix(cron): crash when errors are encountered during a backup ( #403 )
2024-10-17 13:49:45 +02:00
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.
2024-03-12 15:22:43 +01:00
Romain de Laage
3732dcf6ff
Check for errors on forget after having backuped ( #241 )
2022-10-17 15:02:47 +02:00
Chosto
b830667264
Use options when calling check or init ( #199 )
2022-09-13 15:15:02 +02:00
Romain de Laage
2f407cf211
Add forget for copy backend ( #223 )
...
fix #221
2022-08-24 12:09:32 +02:00
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
2022-08-22 17:28:38 +02:00
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
2022-04-27 00:48:52 +02:00
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
2022-04-14 11:51:32 +02:00
db9f5dea66
1.5.4
2022-02-16 21:42:54 +01:00
982f9e0b5c
better error handling
2021-12-06 12:13:18 +01:00
170bdb81ad
tags
2021-11-07 11:48:03 +01:00
a68e3e426e
simplify options handling
2021-10-31 23:07:12 +01:00
4fe241e6f3
support for multiple sources
2021-10-31 22:33:02 +01:00
c2f9ed9204
multiple paths
2021-10-30 13:01:31 +02:00
6be0a80b29
use built in function
2021-10-29 18:35:21 +02:00
440609220c
support for global flags
2021-10-28 18:10:14 +02:00
83905d2993
specific location
2021-10-28 17:29:32 +02:00
8cd759105f
env for hooks
2021-10-26 15:57:40 +02:00
6137e31c3b
allow argumentless flags
2021-10-25 18:29:59 +02:00
7bebd04482
validate and show cwd
2021-07-12 19:10:36 +02:00
a4b54f9f64
check config bugs
2021-07-11 13:51:04 +02:00
61673bd88b
allow options for backend
2021-05-17 22:34:14 +02:00
e05386b0b5
add failure and success hooks
2021-05-06 15:55:32 +02:00
d4522c7ffe
fix validation for docker volumes
2021-05-01 22:54:52 +02:00
c1795b2acc
lean flag
2021-04-28 10:54:07 +02:00
1c436369f0
check folder
2021-04-24 12:40:33 +02:00
6efcce07b7
show error and exit with bad code if not found
2021-04-23 23:53:57 +02:00
188560395d
exclude items from config when empty and rest options
2021-04-23 13:11:15 +02:00
ea82fea8e1
add cron tag
2021-04-20 20:49:09 +02:00
1bbd3879fe
make back compatible
2021-04-16 22:02:25 +02:00
8e13e7bc40
linting
2021-04-15 23:16:47 +02:00
6449b8999f
support for volume locations
2021-04-15 21:55:35 +02:00
3ccaee4066
cleaner output and ctrl-c
2021-04-12 16:15:17 +02:00
640b60c47f
current state
2021-04-12 10:55:57 +02:00
d293e93fa8
cron job
2021-04-12 00:17:29 +02:00
03ca0c8677
add key if not present
2021-04-12 00:02:35 +02:00
19e75c1dad
fixes
2021-04-11 18:17:21 +02:00
6e25b90915
unlock on error and named arrays for config
2021-04-11 17:02:34 +02:00
8a1fe41825
cron
2021-04-11 15:02:27 +02:00
5d92b5bcc1
dry run for forget cmd
2021-04-11 14:22:46 +02:00
05be58a3a7
restore cmd
2021-04-11 14:03:38 +02:00
335724cce7
progress
2021-04-11 13:04:11 +02:00
03cbbfd91c
go rewrite
2021-04-09 01:55:10 +02:00