Skip to content

Back up and restore a volume

Select an icon to see what it is.

Step 3 of 6

tar reads /data and writes /backup

tar changes into /data with -C and archives everything in it, compressed with gzip. The archive is written to /backup, which is the host's /srv/backup. The volume itself is only read.

Process in the helper

tar czf /backup/appdata.tgz -C /data .