mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 08:16:25 +00:00
migration docs
This commit is contained in:
parent
113a97c283
commit
4126436f7f
@ -1,5 +1,9 @@
|
|||||||
# Migration from `1.4` to `1.5`
|
# Migration from `1.4` to `1.5`
|
||||||
|
|
||||||
|
## ⚠️ Important notes
|
||||||
|
|
||||||
|
The way snapshots are referenced in the `restore` and `prune` commands has been changed. Before they were referenced by the path. Now every backup is tagged and those tags are then referenced in the cli. This means that when running restore and forget commands old backups are not taken into account anymore.
|
||||||
|
|
||||||
## Config files
|
## Config files
|
||||||
|
|
||||||
- The config file now required to have a version number. This has to be added with `version: 2` at the root.
|
- The config file now required to have a version number. This has to be added with `version: 2` at the root.
|
||||||
@ -8,6 +12,15 @@
|
|||||||
|
|
||||||
See detailed instructions below.
|
See detailed instructions below.
|
||||||
|
|
||||||
|
## Config Version
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
version: 2 # Added
|
||||||
|
|
||||||
|
backends:
|
||||||
|
# ...
|
||||||
|
```
|
||||||
|
|
||||||
## Hooks
|
## Hooks
|
||||||
|
|
||||||
Since `1.5` multiple sources for a location are possible.
|
Since `1.5` multiple sources for a location are possible.
|
||||||
|
Loading…
Reference in New Issue
Block a user