Commit Graph

42 Commits

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