Commit Graph
124 Commits
Author SHA1 Message Date
Boris BeraandGitHub 41e4e4a5f3 fix(cron): crash when errors are encountered during a backup (#403) 2024-10-17 13:49:45 +02:00
cupcakearmy 592d1093ac bump version 2024-08-28 17:32:23 +02:00
Boris BeraandGitHub 776638e6fe fix(backend): treat all special chars as _ in env (#382) 2024-08-28 17:25:06 +02:00
Boris BeraandGitHub 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
2024-08-28 17:21:01 +02:00
cupcakearmyandGitHub e4b33cad1f version bump 2024-03-28 09:29:39 +01:00
Tucker KernandGitHub a82273ec13 Allow REST backend with docker volumes (#366) 2024-03-27 20:20:13 +01:00
cupcakearmyandGitHub 6e34196220 Update config.go 2024-03-13 12:40:11 +01:00
cupcakearmyandGitHub edb3ba35d8 Update config.go 2024-03-12 15:27:11 +01:00
Stuart HickinbottomandGitHub 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
bbb1c85cad Fix upgrade command (#259)
fix #191

Co-authored-by: Romain de Laage <romain.delaage@rdelaage.ovh>
2024-02-15 14:27:37 +01:00
4848702929 Use options on exec command (#253)
Co-authored-by: Romain de Laage <romain.delaage@rdelaage.ovh>
2024-02-15 14:23:43 +01:00
cupcakearmyandGitHub b5604b8b9f update deps (#353) 2024-02-09 14:18:24 +01:00
cupcakearmy ced20801c1 bump version 2024-01-11 19:17:53 +01:00
Christoph LoyandGitHub f67bb7f73c Bump version to 1.7.9 (#325) 2023-10-02 14:09:34 +02:00
cupcakearmy 2c5266c9a0 fix build system 2023-03-05 17:22:03 +01:00
cupcakearmyandGitHub 087b293c39 version bump 2023-03-02 15:03:57 +01:00
AndreasandGitHub 112a69d743 Allow env variables in path for rest backend (#280) 2023-03-02 15:00:39 +01:00
cupcakearmyandGitHub c82db56069 Update config.go 2023-01-19 09:44:05 +01:00
1512db5b55 Fix regexp for AddedExtractor (#284)
Co-authored-by: mariom <11mariom@gmail.com>
2023-01-18 22:39:12 +01:00
cupcakearmyandGitHub 74979e9a2a Update config.go 2022-10-17 15:03:17 +02:00
Romain de LaageandGitHub 3732dcf6ff Check for errors on forget after having backuped (#241) 2022-10-17 15:02:47 +02:00
cupcakearmyandGitHub 4d9a2b828e Update config.go 2022-09-13 15:16:21 +02:00
ChostoandGitHub b830667264 Use options when calling check or init (#199) 2022-09-13 15:15:02 +02:00
John BurkhardtandGitHub 83eeb847ac Add command line flag to override docker image. (#233) 2022-09-13 15:04:12 +02:00
Romain de LaageandGitHub 2f407cf211 Add forget for copy backend (#223)
fix #221
2022-08-24 12:09:32 +02:00
cupcakearmyandGitHub 489f3078fe bump version 2022-08-24 12:03:11 +02:00
Romain de LaageandGitHub 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
kencandGitHub 2b9dc9f17c Add test for locking behaviour (#211) 2022-06-27 09:03:34 +02:00
kencandGitHub 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.
2022-06-06 12:59:47 +02:00
kencandGitHub 37a043afff Add location unit tests (#208) 2022-06-02 17:05:44 +02:00
kencandGitHub e91b632181 Add backend unit tests (#207) 2022-06-01 14:58:38 +02:00
kencandGitHub 2b30998b9a Add options parsing unit tests (#205)
* Add options parsing unit tests

* Refactor into subtests
2022-05-30 12:56:25 +02:00
cupcakearmy 3bc091f826 lean flag 2022-04-27 00:55:31 +02:00
cupcakearmyandGitHub 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
cupcakearmy ff2e3714d1 1.6.2 2022-04-14 17:44:54 +02:00
cupcakearmyandGitHub 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 8b74a98836 better error handling 2022-03-18 13:06:19 +01:00
cupcakearmy 8a713e497d add ssh & update deps 2022-03-12 14:13:29 +01:00
cupcakearmy 5afad86e37 1.5.6 2022-03-10 16:36:26 +01:00
cupcakearmy d85470459f fix home directory 2022-02-16 21:58:09 +01:00
cupcakearmy db9f5dea66 1.5.4 2022-02-16 21:42:54 +01:00
cupcakearmy 92feaef5bb version bump 2022-02-16 21:28:13 +01:00
cupcakearmy 2a7e233cdb only check on config if it is getting used 2022-02-16 21:22:42 +01:00
cupcakearmy 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
cupcakearmy 982f9e0b5c better error handling 2021-12-06 12:13:18 +01:00
cupcakearmy 0c37af5588 #140 Docker version pinning 2021-12-06 11:59:58 +01:00
cupcakearmy 2b14e6b1af remove print 2021-11-24 09:35:31 +01:00
cupcakearmyandGitHub 1810af8d02 Merge pull request #137 from g-a-c/issues/130
refactor downloading of binaries
2021-11-23 13:01:09 +01:00
cupcakearmy 252968e15e ensure config is loaded before lock 2021-11-23 12:32:35 +01:00