6 lines
166 B
Bash
6 lines
166 B
Bash
|
#!/bin/bash
|
||
|
# extract keys
|
||
|
mkdir ~/backup
|
||
|
|
||
|
docker run --rm --volumes-from caddy -v `pwd`/backup:/backup ubuntu bash -c "cd /data && tar cvf /backup/caddy-data.tar ."
|