Fixed configuration restore instructions

This commit is contained in:
Max Romanovsky 2017-02-18 15:29:01 +03:00 committed by GitHub
parent 47de917de5
commit a293af4246

View File

@ -18,4 +18,4 @@ I'd recommend encrypting the archive with something strong (e.g. gpg or openssl
Creates an volume container named `$OVPN_DATA` to extract the data to. Creates an volume container named `$OVPN_DATA` to extract the data to.
docker volume create --name $OVPN_DATA docker volume create --name $OVPN_DATA
xzcat openvpn-backup.tar.xz | docker run $OVPN_DATA:/etc/openvpn -i kylemanna/openvpn tar -xvf - -C /etc xzcat openvpn-backup.tar.xz | docker run -v $OVPN_DATA:/etc/openvpn -i kylemanna/openvpn tar -xvf - -C /etc