Skip to content

fjh1997/docker_named_volume_backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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

About

easy shell script for backup & restore docker named volume

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages