Docker
autorestic supports docker volumes directly, without needing them to be mounted to the host filesystem.
version: '3.8'
volumes:
data:
name: my-data
services:
api:
image: alpine
volumes:
- data:/foo/barlocations:
hello:
from: my-data
type: volume
# ...Now you can backup and restore as always.
autorestic backup -l helloautorestic restore -l helloThe volume has to exists whenever backing up or restoring.