docker volume ls
#./backup_docker_volume.sh <volume_name>
./backup_docker_volume.sh onedev_db
This will create a directory ./volume-backup/
and make a <volume_name>.tar.gz
file.
#./restore_docker_volume.sh <volume_name>
./restore_docker_volume.sh onedev_db
./
isn't needed if you add to $PATH