Commit Graph

521 Commits

Author SHA1 Message Date
Chosto
b830667264
Use options when calling check or init (#199) 2022-09-13 15:15:02 +02:00
John Burkhardt
83eeb847ac
Add command line flag to override docker image. (#233) 2022-09-13 15:04:12 +02:00
shahvirb
a89ba5a40a
Update forget.md keep-within argument to be '14d' (#236)
keep-within duration can only have units 'y', 'm', 'd', and 'h'. The current documentation of '2w' yields:
```invalid argument "2w" for "--keep-within" flag: invalid unit 'w' found after number 2```

https://restic.readthedocs.io/en/latest/060_forget.html#removing-snapshots-according-to-a-policy
2022-09-13 14:59:46 +02:00
Romain de Laage
6990bf6adc
Check for errors and forward on exec command (#227)
fix #226
2022-08-26 17:09:26 +02:00
Romain de Laage
2f407cf211
Add forget for copy backend (#223)
fix #221
2022-08-24 12:09:32 +02:00
489f3078fe
bump version 2022-08-24 12:03:11 +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
kenc
2b9dc9f17c
Add test for locking behaviour (#211) 2022-06-27 09:03:34 +02:00
kenc
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
kenc
37a043afff
Add location unit tests (#208) 2022-06-02 17:05:44 +02:00
kenc
e91b632181
Add backend unit tests (#207) 2022-06-01 14:58:38 +02:00
kenc
2b30998b9a
Add options parsing unit tests (#205)
* Add options parsing unit tests

* Refactor into subtests
2022-05-30 12:56:25 +02:00
Varac
49b37a0a9a
Add varacs ansible role (#201)
Co-authored-by: Nicco <hi@nicco.io>
2022-05-24 13:34:10 +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
2e6764223d
bump go version in docker 2022-04-14 12:05:19 +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
2da440a1cd
richtiattribution 2022-04-13 08:55:53 +02:00
0f6c34dc6b
healthcheck example 2022-04-12 23:59:12 +02:00
3457fc01bf
Merge pull request #176 from ninjabenji/ninjabenji-doc-update 2022-04-08 15:06:37 +02:00
ninjabenji
1e62f6cb05
DOC - Note on config filename extension
Seems the config file can be located wherever needed but not using an extension or using an extension other than .yml causes the following error
could not load config file
Unsupported Config Type ""
2022-04-08 10:31:42 +01:00
8112aceb30
Merge pull request #175 from ninjabenji/ninjabenji-backend-name-warning
Add lower case warning for backend name
2022-04-07 11:51:13 +02:00
ninjabenji
b4cc0f0ab1
Add warning about location names.
Location names need to be lower case in order to work properly.
2022-04-07 10:32:17 +01:00
ninjabenji
a3e539b0b7
Add line break in documentation 2022-04-07 10:00:28 +01:00
ninjabenji
79164e3de0
Add lower case warning for backend name
If uppercase characters are used in a backend name a check (and I assume other actions) will fail.
2022-04-06 21:28:25 +01: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
71601ae7a6
Merge pull request #170 from fariszr/patch-2
Add OpenSSH to Autorestic Docker container
2022-03-12 14:11:03 +01:00
FarisZR
85d3f06b79
fix #169 2022-03-11 22:34:33 +03:00
5afad86e37
1.5.6 2022-03-10 16:36:26 +01:00
ba9e090695
Merge pull request #167 from fariszr/patch-1
Add bash to docker image
2022-03-10 16:32:43 +01:00
FarisZR
05def04770
Fix #166 2022-03-10 18:28:46 +03:00
d85470459f
fix home directory 2022-02-16 21:58:09 +01:00
1f69a7974a
bump go version 2022-02-16 21:52:12 +01:00
db9f5dea66
1.5.4 2022-02-16 21:42:54 +01:00
75160d4d6a
Merge pull request #160 from cupcakearmy/1.5.3
1.5.3
2022-02-16 21:29:10 +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
a373c07fb0
contrib 2022-02-13 16:25:51 +01:00
ec9e2aebcd
1.5.2 2022-02-13 16:25:09 +01:00
7d87160706
Merge pull request #156 from jjromannet/verbose-config-loading
Add error handling to reading of config file.
2022-02-13 16:23:05 +01:00
8e1fe6af65
Merge pull request #157 from jjromannet/fix-copy-config-file-before-overriding
Make a copy of config before overriding it
2022-02-13 16:20:46 +01:00
Jan
65ba1f6ac1 Make a copy of config before overriding it 2022-02-09 20:35:29 +01:00
Jan
6bf4953003 Add error handling to reading config file. 2022-02-09 20:26:02 +01:00
27758a03fa
add help message 2021-12-22 14:45:04 +01:00
bbdae05199
changelog 2021-12-06 17:27:59 +01:00
389490c4ea
Merge pull request #136 from cupcakearmy/1.5.1
1.5.1
2021-12-06 17:24:19 +01:00
21b83b4c89
docker docs 2021-12-06 17:20:06 +01:00
982f9e0b5c
better error handling 2021-12-06 12:13:18 +01:00