mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2025-09-01 16:20:40 +00:00
add config version to ensure compatibility
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
# Migration from `1.4` to `1.5`
|
||||
|
||||
## Config files
|
||||
|
||||
- The config file now required to have a version number. This has to be added with `version: 2` at the root.
|
||||
- Hooks now optionally support `dir: /some/dir` in the [options object](https://pkg.go.dev/github.com/cupcakearmy/autorestic/internal#Hooks).
|
||||
- Docker volumes don't get prefixed with `volume:` anymore, rather you have to set the `type: volume` in the [location config](https://pkg.go.dev/github.com/cupcakearmy/autorestic/internal#Hooks).
|
||||
|
||||
See detailed instructions below.
|
||||
|
||||
## Hooks
|
||||
|
||||
Since `1.5` multiple sources for a location are possible.
|
||||
|
Reference in New Issue
Block a user