Back up and restore a volume
Select an icon to see what it is.
Step 5 of 6
Restore into a new volume
To restore, mount a new empty volume at /data and the backup directory at /backup, and extract. tar xzf /backup/appdata.tgz -C /data writes the files into the new volume. Any container can then mount that volume.
$ docker run --rm -v appdata2:/data -v /srv/backup:/backup alpine tar xzf /backup/appdata.tgz -C /dataProcess in the helper
tar xzf /backup/appdata.tgz -C /data