It cannot be known. Backpacks of some form have been used since before recorded history.
Humans have been carrying things over their shoulders and on their back for thousands of year, and there’s no way of telling when a crude bundle turned into something we’d recognize as a backpack.