Duru Can Celasun
bb29a98614
feat: Run PreValidate hooks for check cmd ( #437 )
...
PreValidate can be used to mount remote directories (e.g. via NFS) so
they must executed first before running any restic commands.
This was done for the backup command in 13aa560, but not for check. This
commit fixes that.
2025-03-22 19:12:36 +01:00
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
592d1093ac
bump version
2024-08-28 17:32:23 +02:00
e4b33cad1f
version bump
2024-03-28 09:29:39 +01:00
6e34196220
Update config.go
2024-03-13 12:40:11 +01:00
edb3ba35d8
Update config.go
2024-03-12 15:27:11 +01: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
b5604b8b9f
update deps ( #353 )
2024-02-09 14:18:24 +01:00
ced20801c1
bump version
2024-01-11 19:17:53 +01:00
Christoph Loy
f67bb7f73c
Bump version to 1.7.9 ( #325 )
2023-10-02 14:09:34 +02:00
2c5266c9a0
fix build system
2023-03-05 17:22:03 +01:00
087b293c39
version bump
2023-03-02 15:03:57 +01:00
c82db56069
Update config.go
2023-01-19 09:44:05 +01:00
74979e9a2a
Update config.go
2022-10-17 15:03:17 +02:00
4d9a2b828e
Update config.go
2022-09-13 15:16:21 +02:00
Chosto
b830667264
Use options when calling check or init ( #199 )
2022-09-13 15:15:02 +02:00
489f3078fe
bump version
2022-08-24 12:03:11 +02:00
3bc091f826
lean flag
2022-04-27 00:55:31 +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
ff2e3714d1
1.6.2
2022-04-14 17:44:54 +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
8b74a98836
better error handling
2022-03-18 13:06:19 +01:00
8a713e497d
add ssh & update deps
2022-03-12 14:13:29 +01:00
5afad86e37
1.5.6
2022-03-10 16:36:26 +01:00
d85470459f
fix home directory
2022-02-16 21:58:09 +01:00
db9f5dea66
1.5.4
2022-02-16 21:42:54 +01:00
92feaef5bb
version bump
2022-02-16 21:28:13 +01:00
2a7e233cdb
only check on config if it is getting used
2022-02-16 21:22:42 +01:00
ec9e2aebcd
1.5.2
2022-02-13 16:25:09 +01:00
Jan
65ba1f6ac1
Make a copy of config before overriding it
2022-02-09 20:35:29 +01:00
26de4385ea
version bump
2021-11-23 12:32:22 +01:00
ed3c17d678
migration docs
2021-11-20 17:09:42 +01:00
c55e91b8ff
version bump
2021-11-20 16:55:20 +01:00
113a97c283
add config version to ensure compatibility
2021-11-06 22:00:44 +01:00
a68e3e426e
simplify options handling
2021-10-31 23:07:12 +01:00
27e82c8529
Merge branch 'master' into multiple-paths
2021-10-31 22:54:14 +01:00
05c3458a95
version bump
2021-10-31 22:45:54 +01:00
2826f9586d
allow all values from envs
2021-10-31 22:45:03 +01:00
bcfc734cd1
describe multiple sources
2021-10-31 22:32:30 +01:00
c2f9ed9204
multiple paths
2021-10-30 13:01:31 +02:00
efd4a7dfea
version bump
2021-10-28 18:10:33 +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
0b5f4017e4
version bump
2021-10-26 15:59:49 +02:00
6137e31c3b
allow argumentless flags
2021-10-25 18:29:59 +02:00
02a8e461d4
ability to use keys from envs
2021-10-25 17:36:06 +02:00
86ae70672a
right version
2021-08-05 21:58:48 +02:00
20334a7e83
better config handling
2021-08-05 21:48:02 +02:00
b9b8857bf4
aliases
2021-07-12 19:10:25 +02:00
a4b54f9f64
check config bugs
2021-07-11 13:51:04 +02:00