1.
If you dig someone or something out of a place, you get them out by digging or by forcing them from the things surrounding them.
...digging minerals out of the Earth...
She dug out a photograph from under a pile of papers.
PHRASAL VERB : V n P of n , V P n (not pron) , also V n P
2.
If you dig something out , you find it after it has been stored, hidden, or forgotten for a long time. ( INFORMAL )
Recently, I dug out Barstow’s novel and read it again...
We’ll try and dig the number out for you if you want it.
PHRASAL VERB : V P n (not pron) , V n P