mirror of
				https://github.com/kevinveenbirkenbach/docker-volume-backup.git
				synced 2025-10-31 16:49:02 +00:00 
			
		
		
		
	Solved variable bug
This commit is contained in:
		| @@ -12,7 +12,7 @@ do | ||||
|     rsync_docker_destination_path="$docker_backup_folder_path""last/""$docker_container_name$rsync_source_path"; | ||||
|     #backup_dir_path="$backup_dir_base_path$rsync_source_path"; | ||||
|     echo "trying to backup $rsync_source_path..." | ||||
|     $rsync_host_destination_path="$HOME$rsync_docker_destination_path"; | ||||
|     rsync_host_destination_path="$HOME$rsync_docker_destination_path"; | ||||
|     mkdir -p $rsync_host_destination_path; | ||||
|     docker run --rm --volumes-from "$docker_container_name" -v "$host_backup_folder_path:$docker_backup_folder_path" "kevinveenbirkenbach/alpine-rsync" rsync -a --delete $rsync_source_path $rsync_docker_destination_path || rmdir $rsync_host_destination_path; | ||||
|   done | ||||
|   | ||||
		Reference in New Issue
	
	Block a user