autorestic/docs/markdown/upgrade.md

29 lines
667 B
Markdown
Raw Normal View History

2021-05-07 09:34:46 +00:00
# Upgrade
2021-04-17 15:04:43 +00:00
## From `0.x` to `1.0`
Most of the config file is remained compatible, however to clean up the backends custom environment variables were moved from the root object to an `env` object.
```yaml
# Before
remote:
type: b2
path: bucket:path/to/backup
key: some random encryption key
B2_ACCOUNT_ID: id
B2_ACCOUNT_KEY: key
# After
remote:
type: b2
path: bucket:path/to/backup
key: some random encryption key
env:
B2_ACCOUNT_ID: id
B2_ACCOUNT_KEY: key
```
2021-04-17 15:19:59 +00:00
Other than the config file there is a new `-v, --verbose` flag which shows the output of native commands, which are now hidden by default.
2021-04-17 15:04:43 +00:00
> :ToCPrevNext