Migrating to a new external drive

  • Thread starter Thread starter mavatiku
  • Start date Start date
Status
Not open for further replies.
M

mavatiku

Guest
I've outgrown my LR data drive and I need advice on the best way to migrate to a new external drive (j:\, USB2, RAID 1 WD MyBook).

Current state:
- 7'k entries in LR catalog
- Mix of jpegs and RAW files in several subdirectories under, under d:\data
- datestamps go back to Dec 2'''
- since 2''6, all new files imported under LR and stored under \data\Lightroom\yyyy-mm-dd protocol
- many of the pre-2''6 files are in folders with mixed content (ie photos but also video, other file formats)

Desired future state:
1. Retain all edits in all XMP files
2. Move *all* photo files under d:\data onto j:\data, while leaving the non-photo files behind
3. Move *all* pre-2''6 photos into the LR file structure (ie into j:\data\Lightroom\yyyy-mm-dd) based on their capture date
4. Move the LR catalog into j:\data so that I can update the catalog from my main home rig (in signature) as well as a laptop, while maintaining data integrity in the catalog. The j-drive will be attached to main rig but will be accessible to laptop via home lan.

My options?:
Here's what I can think of (none of them very attractive) with my perceived pros/cons:

1. Move files within LR.
Pros: retains link integrity within LR catalog
Cons: fails future state (FS) 2, 3, and 4

2. Move files external to LR, re-create LR catalog from scratch, and re-import the pre-2''6 files
Pros: Gets to my FS 1,2,3,4
Cons: May take *days*! Increased risk of data loss (post-processing edits)

At the rate I take pictures, I see myself going thru this migration again within 2 years. I'm sure this is a common problem.

Any suggestions on a more robust & efficient process?
 
Mavatiku, Welcome aboard the forum. I'll start the dialog. Let me point out a couple of things first.

1) Networking to the catalog file on main-rig J: from the laptop won't work (or is highly deprecated by Adobe). Nonetheless, there are instructions on how to achieve that in the Tips/Tricks forum.

2) Relying on the XMP data for re-import, is likely rock solid, the only likely source of trouble is disk failure during the process. Not harmful if you have backups. *However certain workflow type data is not maintained in XMP, principally: Virtual Copies, Stacks, Pick Flags, Incremental Develop History Steps, Collection Membership, and a couple of much lesser things. If any of these are vital, you may be stuck with your Method 1.

3) Migrating in the future may not be necessary, once you're organized, you should just be able to add additional drives to the mix, and let Lr manage in its normal manner.

4) Re: the mixed file types. I use a multi-pane Explorer replacement called x2plorer. Among other capabilities, it can drill down recursively thru all the subfolders of a given tree, and wild-card identify files, in this case by type. If you're looking to organize the non raw/JPGs by file type, a tool like that is a huge timesaver, avoiding touching all the subfolders individually by hand.

5) It'll pay to have your new J: drive of the fastest technology you can afford. I don't keep up with all the RAID configurations, but how is the comparative speed of your external RAID setup? If you're driving that thru USB2, you may want to consider an internal or e-SATA approach for the future.

I think you've identified the tradeoffs pretty well, I'm looking forward to see what other members contribute as well.
 
Brad - Thanks for the warm welcome and the quick reply!

You provide some great tips but also raise a few more questions that I hadn't thought about:

1) I'll look into the tips/trick forum on networking. However, I chose an external USB drive so I could connect it directly to the laptop. So my Plan B here may become my Plan A if networking turns out to be too much of a hassle. I typically d/l files on the laptop while on the road, then import into the home LR catalog/file structure after first transferring them to the home system over the LAN. I want to eliminate the over-the-lan file transfer.
2) None of the workflow types you describe apply to me (yet) so it seems like XMP data transfer is a leading option.
3) Good point about future migration (or lack thereof); once I get all my photos under one lightroom parent directory, it'll be a *lot* easier to move to a new drive.
4) I couldn't find a secure site for x2plorer, but then I remember I've sporadically used a similar (shareware) app in the past, "Total Commander", which can greatly automate recursive and wildcard file transfers in Windows. A quick refresher and it looks like it'll do the job.
5) Drive speed - this raised the first new question in my mind. I'm definitely going in the wrong direction on drive speed! I hadn't given this much thought before buying but my external USB2 drive is about half the data transfer rate of the internal SATAII it's replacing. I've been more focused on my fast-dwindling capacity and on moving into data mirroring than on speed (I'm down to 16Gb available on a 5''Gb drive). This could become a dealbreaker if my workflow becomes unacceptably slow. In which case I'll have to add a couple of fast (& bigger) internal drives to do the same thing. I'll report on performance once I migrate.

The second question results from your responses 2) & 4): Can the Lightroom "Import" function also import associated XMP files? If it doesn't, I face a long and laborious effort to match XMP files with their parent files which would now be in a new directory hierarchy. I'm talking some 2'k files, although maybe 5k are jpegs, so more like 15k RAW files with XMP sidecars. Aaaargh :-(

Thanks for the tips, though!
 
Why not move the post 2''6 files within Lightroom? Since you will be retaining the same lowest-level file structure (ie date folders), you can move them fairly easily, though you'll have to move each folder individually if I remember correctly, which may be tedious if you have many folders. However I think this will leave non-image files behind in their original location (you will need to check this by running a test).

You might want to reorganise your system during the move (as I have just done). I now use the following folder structure within my LR storage: yyyy>yyyy-mm>yyyy-mm-dd (eg 2''9>2''9-'3>2''9-'3-27). I previously omitted the month level folders, but I found it unwieldy scrolling through a whole year; the new structure is easier to navigate.

Then having written the data to xmps for pre-2''6 images, you can import them (import and copy to new location) using the default Lightroom folder structure which reflects your chosen system. You could leave this running overnight.

Moving the catalog is easy (though as Brad mentioned there are problems putting it on a network drive). Just copy the <name>.lrcat file and the same-named <name> Previews.lrdata folder to the new location and double click the .lrcat to open LR with the new copy. The file locations are absolute, so the new copy will still be connected to your existing folder structure.

Synching laptop and desktop is still clunky in LR. I do as follows: download to laptop using external HD to store the image files (I actually use the LR D/L backup option to store an extra copy on a second external drive at the same time). Do basic corrections, captions and keywords. When I'm ready I export the new files/folders as catalog including previews to the external drive. Then all I have to do is plug the drive into the desktop, import the catalogue, copy the files to my main desktop storage drive (which is an eSATA external drive), and re-connect the folders in LR. I then just have to remember not to make further adjustments on the laptop! Using USB/eSATA is faster than doing it over the network, I think.

Patrick Cunningham
 
mavatiku;4'184 said:
The second question results from your responses 2) & 4): Can the Lightroom "Import" function also import associated XMP files?

Yes, if they are named identically in raw/XMP pairs, and in the same folder. They should be, that's how Lr saves them. If both of these are true, it will happen automatically, you don't need to do anything special at import.

Note that Patrick's perfectly valid suggestion in his last paragraph is a slightly different approach using the external drive as the transfer medium; in this approach, his main working storage is actually a highspeed internal drive on the desktop. This method trades off convenience for performance. Whereas the method of keeping the working catalog on the external does the converse.
 
Patrick - Thanks for the suggestions. I like your idea on the folder re-structuring and decided to try it (yyyy>yyyy-mm>yyyy-mm-dd) during the migration.

A quick progress report:

The good:

- I ran a small test that showed that the "Import" function will bring the image files, as well as their sidecar xmp files and all the metadata I care about into a new directory structure. This was an unexpected and pleasant surprise! I couldn't find sidecar importation documented anywhere. In my test of one small subdir with 2' RAW files, I created a new catalag and imported the folder. All the edits (end result, not the history. So no rollback in the new catalog, although I can always reset), as well as the keywords and ratings came over!! Whohoo! I can automate this whole process! Don't have to "move" folder by folder.

The bad:
- The external USB2 drive is slooow. I ran a quick test, and found that write speed is 13MB/sec, vs 4'MB/sec on my current internal SATA2 data drive. So it's 1/3 the write performance. It still may not be a big deal since I typically work on 1 file at a time, and I'm not sure that write performance dominates my workflow latency. Still, I'll be watching this. I haven't tested it in a workflow yet because ...
- ... I decided to go for it and import my entire archives into a new catalog and .... the import is taking *hours*! (6 hrs so far). This is not a problem - I was prepared for a one-time setup cost, as long as it was mostly/fully automated.

However ...

The ugly(?):

- As I monitor the import progress, it seems like not all my keywords and ratings are coming over. I can't do a direct comparison with the old catalog until the import is done, but as I eyeball the images, there are some that I definitely remember keywording/rating that are showing up without either. It seems like the jpegs are ok but the RAW files are intermittently missing keyworks/ratings.

Aaargh!! This would be a (big) problem if it holds up.

I'm not sure why my test worked fine but the production run is not. I'm tempted to kill the run and troubleshoot (there's probably another 5 hrs left) but I'm letting it run its course in case there's some post-processing that makes everything right.

That's where things stand right now. I'm pondering Plan B, in case this doesn't work out, but all I can think of is hours of manual intervention :-(
 
Brad Snyder;4'226 said:
Yes, if they are named identically in raw/XMP pairs, and in the same folder. They should be, that's how Lr saves them. If both of these are true, it will happen automatically, you don't need to do anything special at import.

Brad - just saw your response after I posted my last response about this. This was indeed a pleasant surprise that doesn't seem to be (well) documented (or maybe I'm just too impatient). However, I'm now wondering if keywords & ratings also belong in the class of workflow types/metadata that's not put in XMP files but somehow stored directly in the catalog.
 
Just a quick question; did you make sure that all of your Lightroom data was written to the XMPs/Jpegs before you started the import? You can check in the old catalog by setting the View properties (View>View Options>Grid View tab>Cell Icons) to show Unsaved Metadata; this will mark the cells with an icon if the metadata is not identical in the XMP or file to what is in the LR database. If not, you need to do Metadata>Save Metadata to file. This could take a long time, but if you select the entire library you can run it over night.

Looks like you're in for one of those weekends!

Patrick Cunningham
 
Oh and by the way, you might consider an eSATA external drive; unless you have a port on your machine you'll need an expansion card, but it's much faster than USB.

Patrick Cunningham
 
Patrick,

Given your suggestions, I decided to kill the import and check my xmp's.

1. I didn't know about forcing a metadata save. When I turned on the the "Unsaved Metadata" flag, which wasn't on, a ton of cells "lit up", so to say! So I'm now forcing a save, per your suggestion. And it looks like it'll take hrs.

But I'm more than a little spooked - it seems like I've been sitting on (literary) my family's crown jewels without a safety net! Thanks for the tip!

How do I set things up so that Unsaved Metadata is always saved automatically, without manual intervention? I seem to be missing that mythical "Save" button in Lightroom!

2. To your eSata suggestion - yes, I've already started looking into this. I do have an eSata port on my home rig. However, I'm still partial to the ubiquitous connectivity & extensibility of Western Digital MyBook USB2 drives. My requirements may be a null set for an eSata drive (2 Tb mirrored in a RAID 1 1+1 configuration, easy to disconnect for quick getaway, for under $23'). Although I will pay more for the right drive - these photos are priceless to me after all. I'll first see where the bottlenecks are in my new workflow before further tweaking the hardware. What eSata ext. drive do you use?

Great tips - thanks!
 
Mavatiku, here's a link to exactly what is saved and not in XMP, it's in a blog post I wrote here. (But almost all of that information was formulated from following threads here at this forum, so most of the credit belongs to members and gurus here.)

Patrick's hit the nail on the head, concerning the hygiene of metadata saves, while I snuck out for dinner.....

Even as we speak, I'm copying my entire image collection from USB2 external to SATA internal. (I replaced a creaky internal drive, and now have the room). And the next time I reboot, I have all the hardware to add an eSATA swappable dock, for better backup performance as well. I expect performance to improve a little bit, but mainly I'm looking forward to ditching the external drive's autosleep function (not user configurable). It drives Lr crazy.
 
mavatiku;4'247 said:
...How do I set things up so that Unsaved Metadata is always saved automatically, without manual intervention? I seem to be missing that mythical "Save" button in Lightroom!
Mavatiku, as Brad is out and I just finished my dinner, just go in the Menu -> Edit -> Catalog Parameters -> Metadata tab and put a checkmark for "Automatically Write XMP Changes" or similar phrasing as I didn't took time to switch language for this reply.
 
Brad Snyder;4'254 said:
Mavatiku, here's a link to exactly what is saved and not in XMP, it's in a blog post I wrote here. (But almost all of that information was formulated from following threads here at this forum, so most of the credit belongs to members and gurus here.)

Patrick's hit the nail on the head, concerning the hygiene of metadata saves, while I snuck out for dinner.....

Even as we speak, I'm copying my entire image collection from USB2 external to SATA internal. (I replaced a creaky internal drive, and now have the room). And the next time I reboot, I have all the hardware to add an eSATA swappable dock, for better backup performance as well. I expect performance to improve a little bit, but mainly I'm looking forward to ditching the external drive's autosleep function (not user configurable). It drives Lr crazy.

Thanks for the link - a good write-up. It seems like Ctrl-S is my new best friend in LR.

Regarding my storage strategy, I'm debating whether to go your route or the eSata route. My new USB2 ext. drive does have an autosleep funtion, unlike earlier Western Digital external drives I've used. While I like the "green" effect of autosleep, and the possibility that the drive will be more reliable, I'm not sure if autosleep "drives Lr crazy", it'll drive me crazy too, sooner rather than later.

OTOH, I could now upgrade my internal data drive for maximum r/w performance (I also do HD video editing) and just use my new ext. drive for backup. I'll ponder these options for a little while.

{my beloved Arizona Wildcats, the cinderella of this year's US NCAA Basketball Sweet 16, are being *pounded* by #1 Louisville. So I've got unexpectedly extra time to ponder my storage strategy options!)
 
Denis Pagé;4'255 said:
Mavatiku, as Brad is out and I just finished my dinner, just go in the Menu -> Edit -> Catalog Parameters -> Metadata tab and put a checkmark for "Automatically Write XMP Changes" or similar phrasing as I didn't took time to switch language for this reply.

Denis - thanks for the tip. However, when I went to check, it seems like that flag "Automatically write changes into XMP", was already set. So I think there's something else I'm doing wrong.

For now, I'll plan on performing a Ctrl-S at the end of every session.

One thing I realized after I killed my first import session and before I started the Ctrl-S operation, I had not optimized my catalog in like months. So I did that. I wonder if that contributed in some way to some of my xmp's going state?
 
Lr going crazy may be 'strongly worded', but it does seem to go into overdrive, and dump/flash some of the User Interface, while waiting for the external drive to wake-up, I generally just sit there and make rude gestures for the 7 seconds or so. I'm not running much as CPUs go these days either, but I subjectively associate this problem with the external drive. If I find out different when my SATA migration is done, I'll report back.

On the XMP autowrite, I believe that's a catalog specific setting, if you have more than one catalog, they can be set differently.

OT
Ah yes, my Maryland Terrapins are already home watching on TV. :) At least the men are. The MD women play in their Sweet 16 tomorrow.
 
Brad Snyder;4'26' said:
On the XMP autowrite, I believe that's a catalog specific setting, if you have more than one catalog, they can be set differently.
Yes Brad, it is per Catalog. As I wrote above, it is in Catalog Parameters. With all those options here and there, it is easy to forget and need to launch a Lightroom session to assert what we will say to help... ;)
 
Actually the "Auto-write" setting is in "Catalog Settings"/Metadata in the English version.;)
 
Glad you're getting there Mavatiku, and sorry about the Wildcats ;-).

I'm using a Seagate FreeAgent 1.5 TB eSata drive, but it's early days yet, I only built the system a couple of weeks ago.

I also see the flashing GUI sometimes, even with the eSATA drive and a high spec system. I will be interested to know if the internal SATA solution gets rid of this. I hadn't linked it to the possibility of being related to drive sleepiness! I'll bear this in mind. I had thought it happens when the CPU or RAM is maxed out.

Patrick Cunningham
 
A quick status report before I get swallowed up by/reclaim my weekend:

- Patrick, you were right - I'm in for one of those weekends :lol:
- But after a rocky start, it's all been mostly good news (so far), thanks to you folks on this forum!
- I did a "Save Metadata to File" on my collection. Took about 6 hrs
- Then I "Imported" the files into a new catalog and the new folder structure
  • Calculating the dates took about 1 hr for about 57,''' files under my first hierarchy. I had 2 top-level folder hierarchies under the old catalog, one with the master files, and one with mostly jpeg "Exports" for various purposes (email, webposting, panos, experimental pp, etc). I now intend to bring them all under a single catalog & folder hierarchy
  • I've now been importing the first 57k files for 11.5 hrs, and Lr reports it's 76% done. So it's been slow. But it's been fully automated
  • And most importantly, all my metadata seems to be coming over, including all keywords and ratings. THE "Save Metadata to File" SAVED MY WEEKEND!!! :cheesy:
- The slow speed of the import has bothered me some - obviously the slower transfer/write speed of my new Western Digital USB2 drive is a major factor here. Patrick, thanks for the info on your eSata drive (although I now realize it was in your sig all along. Duh! I really like the conventions on this forum, even if I'm slow to catch on). That Seagate actually mostly meets my requirements. I guess I was so fixated on WD I didn't shop around. I'll keep it on my short list in case.

Thanks Brad, Patrick, Denis, Kiwigeoff! Thanks to you, I'm well on my way to the desired future state I spec'ed in the basenote. Heck, I'm actually executing in improved plan, with new knowledge for further improvements!!

This forum ROCKS!
 
Brilliant! Great news, and glad we could help. Enjoy what's left of the w/e.

Just a final snippet of advice. The LR workflow really means that you don't need to keep versions of the pixel files (eg jpegs for emailing). It's so easy to create whatever size, colour space etc you need on-the-fly that you can safely delete the file once you've sent it. That way, you don't need to keep track of several versions of the same image. If you need versions with different adjustments, you can keep them as virtual copies.

Patrick Cunningham
 
Epilogue:

- The *great* news? I've completed migrating my collection to my new drive. Photos, sidecar xmp's and catalog are all under one directory structure, which will make maintainence and portability a *lot* easier.

- The not-so-good news? As was suggested here, my brand new USB2 external drive has indeed proved nearly unusable as a primary working drive for my collection, certainly for my workflows :(. It's bad enough (although usable) when it's the only drive on the USB bus; it pretty much freezes when I've got other USB drives operational (I multi-task a lot). I've decided to go the eSata route for now and keep the USB drive as a backup. Eventually I may update the internal drives, but once I remove the photo files they'll actually have a lot of space and life.

PatrickC;4'3'2 said:
Just a final snippet of advice. The LR workflow really means that you don't need to keep versions of the pixel files (eg jpegs for emailing). It's so easy to create whatever size, colour space etc you need on-the-fly that you can safely delete the file once you've sent it. That way, you don't need to keep track of several versions of the same image. If you need versions with different adjustments, you can keep them as virtual copies.

Patrick Cunningham

Thanks for the tip, Patrick! Yea, I've got a few of these one-off jpegs that I can't afford to toss right now, because I didn't know about virtual copies (was that a Day 1 feature of Lr?). Going forward I'll start using them, instead of my current untidy workflow. It seems (from Brad's earlier advice) that virtual copies are not kept in XMP's, though. Still, with my new folder structure, I'll have the catalog close to the pictures, so I think I'll be able to maintain integrity of the virtual copies if I have to move the folder hierarchy again.

Clearly I have a lot to learn about Lr - I start lurking around here a lot more.

Thanks everyone!
 
mavatiku;4'417 said:
Epilogue:

Clearly I have a lot to learn about Lr - I start lurking around here a lot more.

Thanks everyone!

:)
Yes we discuss almost everything Lr related here, eventually. And please feel free to contribute answers and opinions as well, we try not to stand on ceremony or maintain any kind of pecking order.
 
Status
Not open for further replies.
Back
Top