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
3 weeks ago
Wez Furlong
8a773856de
Improve error handling in install.sh ( #404 )
...
Prior to this change, running the example from the docs without root privs produces this misleading/confusing output that claims that the software was installed when it wasn't:
```console
$ wget -qO - https://raw.githubusercontent.com/cupcakearmy/autorestic/master/install.sh | bash
linux
amd64
/usr/local/bin/autorestic.bz2: Permission denied
bzip2: Can't open input file /usr/local/bin/autorestic.bz2: No such file or directory.
chmod: cannot access '/usr/local/bin/autorestic': No such file or directory
bash: line 49: autorestic: command not found
Successfully installed autorestic
```
With this change, the errors stop the script much earlier and produce this output instead:
```
linux
amd64
/usr/local/bin/autorestic.bz2: Permission denied
```
1 month ago
Boris Bera
41e4e4a5f3
fix(cron): crash when errors are encountered during a backup ( #403 )
1 month ago
Chao
6424c64304
Update docker.md, fix incorrect location name ( #399 )
2 months ago
dependabot[bot]
d39dafaef1
Bump golang from 1.22-alpine to 1.23-alpine ( #391 )
...
Bumps golang from 1.22-alpine to 1.23-alpine.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
dependabot[bot]
5a0f7e94f4
Bump restic/restic from 0.17.0 to 0.17.1 ( #393 )
...
Bumps restic/restic from 0.17.0 to 0.17.1.
---
updated-dependencies:
- dependency-name: restic/restic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
Boris Bera
6a60d02759
chore(CI): add basic CI (build & test) for PRs and master pushes ( #396 )
2 months ago
Niccolo Borgioli
1f7240c6a0
add start command
3 months ago
Niccolo Borgioli
592d1093ac
bump version
3 months ago
Niccolo Borgioli
83481072bb
update docs dependencies
3 months ago
Boris Bera
776638e6fe
fix(backend): treat all special chars as `_` in env ( #382 )
3 months ago
Boris Bera
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
3 months ago
guest20
dd01e97cf3
install.sh: FreeBSD amd64 ( #385 )
3 months ago
dependabot[bot]
aabb0989c6
Bump restic/restic from 0.16.4 to 0.17.0 ( #386 )
...
Bumps restic/restic from 0.16.4 to 0.17.0.
---
updated-dependencies:
- dependency-name: restic/restic
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 months ago
Nicco
62a81d1420
add blog post to community page :)
6 months ago
Nicco
e4b33cad1f
version bump
8 months ago
Tucker Kern
a82273ec13
Allow REST backend with docker volumes ( #366 )
8 months ago
dependabot[bot]
2418da5636
Bump gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0 ( #363 )
...
Bumps gopkg.in/yaml.v3 from 3.0.0-20210107192922-496545a6307b to 3.0.0.
---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
dependabot[bot]
7508df7d66
Bump katex from 0.16.8 to 0.16.10 in /docs ( #364 )
...
Bumps [katex](https://github.com/KaTeX/KaTeX ) from 0.16.8 to 0.16.10.
- [Release notes](https://github.com/KaTeX/KaTeX/releases )
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md )
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.16.8...v0.16.10 )
---
updated-dependencies:
- dependency-name: katex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8 months ago
Nicco
6e34196220
Update config.go
9 months ago
Florian
dc56911a45
fix(unlock cmd): ignore process if its the current id ( #360 )
9 months ago
Nicco
edb3ba35d8
Update config.go
9 months ago
Florian
12f6143bb4
fix: cli command to unlock the autorestic running value ( #329 )
...
* fix: cli command to unlock the autorestic running value
* fix(unlock cmd): get user confirmation in case an instance is still running
* fix(cmd unlock): add force flag
9 months ago
Pete
a6bf1d1408
fix relative path to options forget ( #331 )
...
/location/options/forget instead of /location/forget.
9 months ago
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.
9 months ago
rdelaage
bbb1c85cad
Fix upgrade command ( #259 )
...
fix #191
Co-authored-by: Romain de Laage <romain.delaage@rdelaage.ovh>
10 months ago
Natanel Shitrit
4cc44315ab
feat: add `docker-cli` package ( #339 )
...
Co-authored-by: Nicco <hi@nicco.io>
10 months ago
dependabot[bot]
b3440cd87c
Bump golang from 1.21-alpine to 1.22-alpine ( #355 )
...
Bumps golang from 1.21-alpine to 1.22-alpine.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 months ago
rdelaage
4848702929
Use options on exec command ( #253 )
...
Co-authored-by: Romain de Laage <romain.delaage@rdelaage.ovh>
10 months ago
Nicco
b5604b8b9f
update deps ( #353 )
10 months ago
Alexander Zhang
24220f6b62
Fix broken link in docs ( #350 )
10 months ago
Niccolo Borgioli
ced20801c1
bump version
11 months ago
Christoph Loy
ce9140fa1e
Fix handling of `XDG_CONFIG_HOME` ( #347 )
11 months ago
Matthias Liffers
046c79fd15
Add curl to docker image ( #344 )
11 months ago
Skye J
f8603425d1
Update installation.md to add AUR back ( #348 )
...
I have been maintaining the AUR package, so it is no longer deprecated.
11 months ago
Niccolo Borgioli
068121d722
adjust base url
1 year ago
Nicco
8eea7d33f8
delete old docs ( #327 )
...
* delete old docs
* new docs
1 year ago
Vladimir Mikryukov
fc8b5fdbe2
fix typos in `cron.md` ( #316 )
1 year ago
Christoph Loy
f67bb7f73c
Bump version to 1.7.9 ( #325 )
1 year ago
Christoph Loy
530b1b646c
Update restic to 0.16.0 ( #324 )
1 year ago
Major Hayden
3b57602fe8
Docs: Add Fedora installation choice ( #320 )
...
Fedora now has an autorestic package and users can install it directly
from Fedora's repositories.
Signed-off-by: Major Hayden <major@mhtx.net>
1 year ago
Mikel Olasagasti Uranga
045513234f
Use Printf instead of Println ( #318 )
...
Testing in Fedora reports:
./root.go:58:4: (*github.com/fatih/color.Color).Println call has
possible Printf formatting directive %s
1 year ago
dependabot[bot]
78b0db50e0
Bump webpack from 5.75.0 to 5.76.1 in /docs/.codedoc ( #295 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.75.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
62dd371d51
Bump webpack from 5.75.0 to 5.76.1 in /docs ( #296 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.75.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.1 )
---
updated-dependencies:
- dependency-name: webpack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
08766b75db
Bump prismjs from 1.23.0 to 1.29.0 in /docs/.codedoc ( #269 )
...
Bumps [prismjs](https://github.com/PrismJS/prism ) from 1.23.0 to 1.29.0.
- [Release notes](https://github.com/PrismJS/prism/releases )
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md )
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.29.0 )
---
updated-dependencies:
- dependency-name: prismjs
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
cupcakearmy
b3b7c8df95
update versions
2 years ago
cupcakearmy
2c5266c9a0
fix build system
2 years ago
Nicco
087b293c39
version bump
2 years ago
Andreas
112a69d743
Allow env variables in path for rest backend ( #280 )
2 years ago
dependabot[bot]
37d55c691f
Bump golang.org/x/text from 0.3.7 to 0.3.8 ( #289 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago