mirror of
				https://github.com/kevinveenbirkenbach/docker-volume-backup.git
				synced 2025-10-31 16:49:02 +00:00 
			
		
		
		
	Implemented recovery script
This commit is contained in:
		
							
								
								
									
										6
									
								
								docker-volume-recover.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								docker-volume-recover.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| #!/bin/bash | ||||
| # @param $1 Volume-Name | ||||
| volume_name="$1" | ||||
| backup_path="$2" | ||||
| docker volume create "$volume_name" | ||||
| docker run --rm -v "$volume_name:/recover/" -v "$backup_path:/backup/" "kevinveenbirkenbach/alpine-rsync" sh -c "rsync -avv /backup/ /recover/" | ||||
		Reference in New Issue
	
	Block a user