Optionschevron_right
autorestic supports docker volumes directly, without needing them to be mounted to the host filesystem.
1linkversion: '3.8'
2link
3linkvolumes:
4link data:
5link name: my-data
6link
7linkservices:
8link api:
9link image: alpine
10link volumes:
11link - data:/foo/bar
1linklocations:
2link foo:
3link from: my-data
4link type: volume
5link # ...
Now you can backup and restore as always.
1link$autorestic backup -l hello
1link$autorestic restore -l hello
The volume has to exists whenever backing up or restoring.
Home Quick Start Installation Configuration Upgrade