Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 425 Bytes

README.md

File metadata and controls

16 lines (16 loc) · 425 Bytes

docker_volume_backup

usage:

first list your docker volume and get volumn name

sudo docker volume ls

backup

#sudo backup_docker_volume.sh <volumn_name> <tar_file>
sudo bash ./backup_docker_volume.sh codimd_database-data backup1.tar

restore

#sudo restore_docker_volume.sh <volumn_name> <tar_file>
sudo bash ./restore_docker_volume.sh codimd_database-data backup1.tar