When this option is set to `true`, the backend will automatically get
initialized during the backup process. This applies to invoking
`autorestic backup` or when `autorestic cron` actualy performs a backup.
* 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
* 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
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.