• Did you order new AirTags? We've opened a dedicated AirTags forum.

OrangeCuse44

macrumors 65816
Original poster
Oct 25, 2006
1,485
0
Long Island, NY
A day ago, for an unknown reason, hundreds of my songs in my iTunes library lost their link location. I painstakingly got about 10% through refinding the location to each song but I got to thinking. Is there a way through Time Machine to just restore my library the way it was 2 days ago? Are there specific files I can copy over? Thanks, any help is much appreciated.
 

LTX

macrumors regular
Dec 25, 2008
164
0
Vancouver, BC, Canada
I believe it it just the ~/Music/iTunes folder (~ being your username). That folder contains all the music files as well as the database files. Someone correct me if there's something else.
 
Comment

OrangeCuse44

macrumors 65816
Original poster
Oct 25, 2006
1,485
0
Long Island, NY
I believe it it just the ~/Music/iTunes folder (~ being your username). That folder contains all the music files as well as the database files. Someone correct me if there's something else.

I wouldn't have to copy the actual music files, right? My impression was I would need these database files you speak of. Can anyone clarify?
 
Comment

LTX

macrumors regular
Dec 25, 2008
164
0
Vancouver, BC, Canada
Yeah, as long as the music files haven't changed and are in the same locations, the database file should work (because it expects certain files to be there).
 
Comment

ChrisA

macrumors G4
Jan 5, 2006
11,810
592
Redondo Beach, California
I wouldn't have to copy the actual music files, right? My impression was I would need these database files you speak of. Can anyone clarify?

Are your music files inside the iTunes Library or are they "referenced". Sounds like the later. If they are inside then of course moving the entire library back for TM will fix everything. If they are referenced then restoring the library will only work if the music files have never been moved.

I've noticed that almost 100% of the problems posted here about lost files in iTunes, iPhoto and Aperture are from people trying to use "referenced" files. That should say something.
 
Comment

OrangeCuse44

macrumors 65816
Original poster
Oct 25, 2006
1,485
0
Long Island, NY
Are your music files inside the iTunes Library or are they "referenced". Sounds like the later. If they are inside then of course moving the entire library back for TM will fix everything. If they are referenced then restoring the library will only work if the music files have never been moved.

I've noticed that almost 100% of the problems posted here about lost files in iTunes, iPhoto and Aperture are from people trying to use "referenced" files. That should say something.

They are not referenced. iTunes keeps my music organized. So it seems I just need to recover the database files. Can anyone confirm what the exact files I need to recover are?
 
Comment

OrangeCuse44

macrumors 65816
Original poster
Oct 25, 2006
1,485
0
Long Island, NY
Are these the database files? Which should I transfer from my Time Machine backup?
 

Attachments

  • Picture 1.png
    Picture 1.png
    89.1 KB · Views: 648
Comment

johto

macrumors 6502
Jan 15, 2008
383
0
Finland
"../Music/iTunes Music" contains normally your whole physical music files too.
Dont know your situation, but anyways, yes you should just overwrite your whole ~/Music directory from the time machine. This should fix everything back to 2 days ago for iTunes.
 
Comment

175170

Cancelled
Mar 28, 2008
964
0
"../Music/iTunes Music" contains normally your whole physical music files too.
Dont know your situation, but anyways, yes you should just overwrite your whole ~/Music directory from the time machine. This should fix everything back to 2 days ago for iTunes.

No offence to the OP, but I would recommend that as well.
I guess you could just restore the two iTunes Database files you have there, but I don't think that would work.
Give it a try anyways though.
 
Comment

svb

macrumors newbie
Jan 17, 2012
1
0
recover iTunes Library using Time Casule

Hi there,

First thread. (English is not my native language)

Look, I have solve this problem today and iTunes has its library totally recovered.
I haver read plenty of forums before trying to do this task.

My steps were simple and as follows:

1- I went to my Mac's finder and deleted the contents of the "Music" folder and then "empty trash". The folder is now empty.

2- I kept the Finder open and choose to open Time Machine.

3- the Finder window in the Time Machine, stays open. I went back in time a few days (to the day before I accidentally destroyed my music database) and then I choose "restore"

As planned, automatically the Time Machine environment goes away and the "copy" starts. For me it was around 40 minutes to restore 74 Gb.

After this, I did open iTunes and everything was there in the right place. Even all the movies and purchased music.

I hope this can help someone.
PS: I have been taking advantage of this forums for ages and it feels good to share some advice as well : )

A day ago, for an unknown reason, hundreds of my songs in my iTunes library lost their link location. I painstakingly got about 10% through refinding the location to each song but I got to thinking. Is there a way through Time Machine to just restore my library the way it was 2 days ago? Are there specific files I can copy over? Thanks, any help is much appreciated.
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.