Docker volume restore

@burke @dkayiwa @isears I just try to use docker restore script then screen lost reference while login the application as below. Is anyone taking docker volume backup.

docker-compose pause
dirname=${PWD##*/}
echo $dirname
for f in `ls *.tar.bz2`
do
  nv="${f%.tar.bz2}"
  echo -n "Restoring $nv ..."
  docker run -it --rm \
    -v $nv:/data -v $PWD:/backup alpine \
    sh -c "rm -rf /data/* /data/..?* /data/.[!.]* ; tar -C /data/ -xjf /backup/$f"
  echo "done"
done
docker-compose unpause