Benches macOS

5

backup Spotlight index file - where is it?

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

My apologies, if I overlooked a topic addressing this issue.

I'd like to backup the Spotlight index file because I need to do a clean install of a system. Spotlight has indexed the external drive which is very large. I've found that Spotlight re-indexes this drive every time OS X is reinstalled. I've had some computer problems that have required multiple re-installs. Where is this index file located and can I back it up and copy it back so that I'm not looking at several hours of re-indexing a drive?

5 replies

Sign in or join Beachball Help to reply.

  1. 0

    BDAqua

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Hi, it's a hidden file/folder called...

    .Spotlight-V100

    at the root of each drive, but I'm not sure if it'll work to just replace it.

  2. 0

    rccharles

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Here's a way to see hidden files.

    Macintosh-HD -> Applications -> Utilities -> Terminal

    To see the files, copy this line into the terminal window. Press enter, if needed.

    # Show hidden files & folders in finder
    defaults write com.apple.finder AppleShowAllFiles TRUE ;killall Finder



    # Normal display. Hide hidden files & folders in finder
    defaults write com.apple.finder AppleShowAllFiles FALSE ;killall Finder

  3. 0

    hooterville

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    still don't know how to turn Spotlight off.

  4. 0

    hooterville

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    How do you turn Spotlight off when it begins doing a major index like this? How do you prevent it from starting up every time the system is started or restarted? Can the index file be copied to the drive preventing a new index process from running?

  5. 0

    BDAqua

    Imported from the Apple Support Forums via the Wayback Machine 🔗