Building a Photo Archive: Finding Tens of Thousands of Railway Photos Again

A railway photo archive rarely fails because of storage space, but almost always because of structure. Naming, keywords and a 3-2-1 backup turn files into a searchable collection.

Traintrack editorial teamPublished: 19 August 2026Updated: August 202611 min read

Key takeaways

  • The file name carries the core information: date, location, train number and vehicle number make every file identifiable without any software.
  • Folders by date, not by topic: topics change, dates don't – the keyword system handles thematic organisation.
  • Build keywords hierarchically: class, operator, location, route and shot type as separate layers instead of a word salad.
  • 3-2-1 backup is mandatory: three copies, two media types, one off-site – anything less is one single failure away from total loss.
  • Link your archive and sighting data: if the file name and the sighting entry share the same number, you find the picture and the report together in seconds.
Contents
  1. 1.How do you build a photo archive you can actually find things in again?
  2. 2.The naming scheme
  3. 3.Keywords: the real search tool
  4. 4.The workflow after every trip
  5. 5.Backup: three copies, two media, one other location
  6. 6.Sorting out existing chaos afterwards
  7. 7.Self-test: how robust is your archive?
  8. 8.Common mistakes when building an archive
  9. 9.Conclusion

Updated: August 2026 – Anyone wanting to build a photo archive doesn’t struggle with storage space after a few years, but with the question: where was that picture of that one locomotive in Hannover again? Tens of thousands of railway photos aren’t a problem – tens of thousands of badly named railway photos are. This guide shows a naming scheme, a keyword strategy and a backup structure that will still work in twenty years’ time.

Link a picture and a sighting with one key

If the vehicle number and date are written the same way in both systems, you'll find the matching photo for every report.

Download Traintrack on the App Store4.8(23 ratings) Get Traintrack on Google Play4.4(35 ratings)

How do you build a photo archive you can actually find things in again?

A working photo archive consists of three separate layers: folder structure, file name and metadata. The folder structure sorts by date and stays unambiguous forever as a result. The file name carries the key identifying details, so a file is recognisable even without any software. The metadata – keywords, title, description – handles everything thematic and makes the archive searchable. Museums such as the Cité du Train work on the same principle, just on a larger scale: without clean tagging, a collection isn’t usable.

The most common mistake is squeezing all three tasks into folder names: a folder per class, inside that a folder per location, inside that by year. That works until the first picture that belongs in two categories – so, by about week three. The rule is therefore: sort folders, categorise via metadata. What a well-kept archive is worth after decades is shown by the railway archive with more than 96,000 historical photos.

3-2-1copies, media types, locations in a backup
YYYY-MM-DDdate format that sorts chronologically by itself
5–10well-chosen keywords per picture

The naming scheme

A good file name answers four questions without you having to open the file: when, where, which service, which vehicle. A proven pattern looks like this:

2026-08-19_Koeln-Hbf_RE1_146-xxx_001.jpg

The individual parts:

  • Date in YYYY-MM-DD format. It goes at the front, because that makes alphabetical sorting automatically chronological – on every system, in every program.
  • Location or operating point. Short, unambiguous, no umlauts. “Koeln-Hbf” instead of “Cologne Hauptbahnhof”.
  • Service. The train category and line number, or the train number itself. That identifies the journey.
  • Vehicle. The number in a fixed notation – the same one you also use in your sighting list.
  • Running number. Three digits, so a series from one moment stays together.

Three technical rules matter more than they sound: no spaces, no umlauts, no special characters. Spaces break scripts and URLs, umlauts occasionally get mangled when moving between operating systems and cloud storage, and characters such as a forward slash or colon are simply forbidden in file names.

Layer Task Concrete implementation
Folder structure Sort unambiguously Archive/2026/2026-08-19/ – year, then shooting date inside it
File name Make it identifiable without software Date, location, service, vehicle number, running number
EXIF Provide technical shooting data Comes from the camera – the time must be correct
IPTC/XMP Make it thematically searchable Keywords, title, description, author
Rating Control selection Stars or colour labels for selection, editing, publication
Output folder Separate finished versions Export/ – can be regenerated at any time, not part of the archive

Keywords: the real search tool

The file name answers “which picture is this”, the keywords answer “which pictures do I have on this topic”. For railway photography, a hierarchical structure has proven itself, where each layer stays searchable on its own:

  • Vehicle: class, specific number, type, traction
  • Operator: railway undertaking, and where relevant the owner – for older shots, the name that was valid at the time, so in Sweden Banverket rather than today’s successor organisation
  • Location: operating point, town, federal state
  • Route: line name or timetable route number
  • Shot type: side-on, three-quarter, panning shot, night shot, detail
  • Occasion: special working, diversion, replacement service, engineering works – for society-run trains, also the organiser, such as the ÖGEG

Consistency is what matters: a controlled keyword list you choose from, rather than typing freely each time. Otherwise, after two years, you’ll have “class 146”, “BR146”, “Baureihe 146” and “146er” side by side – and every search only finds part of them. Most photo management programs support such controlled lists; use them from the start.

Keywords belong in the file

Write keywords into the image file, or into an XMP sidecar file, on export – not just into your program's catalogue. Catalogues are tied to a piece of software, files aren't. If you switch programs in ten years' time, this one setting decides whether your entire body of tagging comes with you or gets lost.

The workflow after every trip

Import and rename immediately

Copy the pictures into the day's folder and name them to your scheme in the same step. Whatever isn't named now will never be named.

Check the timestamp

Was the camera clock set correctly? If not, correct the whole folder for the known offset before anything else happens.

Sort out the rejects

Delete failed exposures, missed shots and duplicates straight away. An archive where every other file is a reject won't be searched, it'll be avoided.

Add keywords

Assign keywords for the whole day together – location and route usually apply to all the pictures – then add vehicle-specific terms one by one afterwards.

Match up sightings

Transfer every photographed vehicle number into your sighting list, in the same notation as the file name. That permanently links the picture and the report.

Run the backup

The day isn't finished until the copies are written. As long as the pictures only live on one piece of media, they only exist conditionally.

The fifth step is the one most people skip – and it’s exactly the one that links photography and documentation. The guide to using EXIF data for spotting describes how to reconstruct missing details from your image data afterwards.

The step that makes your archive valuable

Log every photographed number as a sighting – then your body of pictures becomes an analysable collection.

Download Traintrack on the App Store4.8(23 ratings) Get Traintrack on Google Play4.4(35 ratings)

Backup: three copies, two media, one other location

The 3-2-1 rule isn’t a recommendation for professionals; it’s the minimum kit for anyone whose pictures mean something to them:

  • Three copies – the original and two backups. Two copies mean that a single failure can set you back to zero.
  • Two media types – say, an internal hard drive plus an external drive or network storage. Identical media age similarly and tend to fail around the same time.
  • One off-site location – cloud storage or a drive kept at a relative’s house. Fire, water damage and theft hit every device in one room at the same time.

Two additions that are often missing in practice: versioning and testing. A syncing cloud folder isn’t a full backup, because an accidental deletion gets synced everywhere immediately. And a backup that’s never been restored is just a hope. Twice a year, take a few files from your backup and actually open them.

Your archive is healthy if …

  • you find a picture from any given year in under a minute
  • every file is identifiable without any software
  • keywords sit in the file, not just in the catalogue
  • you've tested a restore in the last six months

You should tidy up if …

  • file names come from the camera and are just numbers
  • keywords are written inconsistently
  • backups exist but run irregularly

Urgent action needed if …

  • all your pictures sit on a single drive
  • you spend more than ten minutes looking for a particular picture
  • a syncing cloud folder is your only backup

Sorting out existing chaos afterwards

Most people don’t start from zero, but already have years of unsorted pictures. The mistake would be trying to tidy everything at once – nobody manages that, and it gets abandoned after two evenings. A two-track approach works better:

  • Clean from today onwards. The new scheme applies to every new trip from now on. That way the organised part grows on its own.
  • Work backwards in stages. Set aside a year or a month per week. Start with the most recent years, because you’ll still remember the details there.
  • Automate where you can. Date and time sit in the EXIF data; photo management and renaming tools can generate folders and file names from it. What’s left to do manually is only what the program doesn’t know: location, service, vehicle number.
  • Prioritise. Pictures you want to publish or attach to sightings come first. The rest can wait. For publishing itself, the guide to bahnbilder.de with workflow and legal questions offers the right pointers, complemented by the Flickr guide for railway photography with tags and groups.

Anyone wanting to work on photographic quality at the same time will find the basics in the train photography guide – an archive full of good pictures is a lot more motivating to maintain.

Self-test: how robust is your archive?

Archive check in eight points

Tick off what applies to your archive. Six ticks or more and you're on the safe side.

  • My folders are organised by year and shooting date.
  • My file names contain the date, location and vehicle number.
  • I use a fixed notation for vehicle numbers.
  • Keywords come from a controlled list.
  • Metadata is written into the file, not just into the catalogue.
  • I have at least three copies on two media types.
  • One copy is kept outside my home.
  • I've tested a restore in the last six months.

Common mistakes when building an archive

  • Keeping camera file names. After your second camera body, or the first counter overflow, you’ll get duplicate file names – and data loss when merging folders.
  • Creating thematic folders. By the first picture that belongs to two topics at the latest, the copying starts – and with it, the chaos.
  • Using umlauts and spaces. Works locally, causes trouble when moving to other systems, cloud storage and web interfaces.
  • Only maintaining metadata in the catalogue. When you switch software, all that work is gone if nothing was written into the files.
  • Confusing backup with syncing. Whatever you delete gets deleted everywhere immediately. Without versioning, that’s no protection.
  • Keeping sightings and pictures separate. Anyone maintaining both systems without a shared key ends up searching twice – the comparison between forum and app for live sightings shows why structured fields make the difference here. For systematically working through a class, the guide to completing your vehicle collection is also worth reading.

Conclusion

Building a photo archive is an investment of a few minutes per trip that pays off more with every year. Folders by date, file names with date, location, service and vehicle number, keywords from a controlled list, and a 3-2-1 backup – that’s all it takes. The real payoff comes where your archive and your sighting data use the same notation: then ten thousand files become a collection where you can answer any question. The kind of finds this can uncover is shown by the guide to Drehscheibe Online RailView.

In short

Sort by date, name by content, categorise via keywords, and back up with 3-2-1. Make these four decisions once and stick with them, and you'll find any picture in under a minute even after twenty years.

Pictures become analysable sightings

Log the vehicle, location and time for every photo – that gives you not just an archive, but a collection that shows you what you're still missing.

Download Traintrack on the App Store4.8(23 ratings) Get Traintrack on Google Play4.4(35 ratings)

Summary

  • A photo archive lives on three layers: folder structure, file naming and metadata – each solving a different task.
  • Naming should sort in a machine-readable way and contain the key identifying details.
  • Keywords are the real search tool; they belong in the file, not just in the catalogue.
  • Without a tested backup, any archive is just a well-sorted collection of potential losses.

Frequently asked questions

How should I name my railway photos?

A scheme of date, location, service and vehicle has proven itself, for example 2026-08-19_Koeln-Hbf_RE1_146-xxx_001. The date goes at the front in YYYY-MM-DD format, so alphabetical sorting is automatically chronological. Don't use spaces, umlauts or special characters – a hyphen and underscore are enough and work on every system.

Organise by date or by topic?

By date. A folder structure built from year and shooting date is unambiguous, collision-free and never changes. Thematic access – all pictures of one class, one station, one route – you solve through keywords. Anyone who files by topic inevitably ends up with pictures that would belong in several folders at once.

What's the 3-2-1 rule for backups?

Three copies of your data, on two different media types, one of them in a different location. In practice: your working drive, an external hard drive at home, and a copy off-site – say, in cloud storage or on a drive kept at a relative's house. That way your archive survives hardware failure, theft, fire and user error.

How many keywords does a picture need?

Five to ten well-chosen terms are enough. Useful ones are class, the specific vehicle number, operator, location or operating point, route and shot type. What matters isn't the quantity but the consistency: if you write "class 146" once and "BR146" another time, you'll only find half of them later.

Should I keep my RAW files?

If you shoot in RAW, yes – they're your negative and can be re-developed later with better software. Storage space is rarely the problem these days. A useful split is: RAW in the archive, developed JPEG versions in an output folder that can be regenerated at any time.

What happens if my photo management software stops existing?

That's why the important information belongs in the file itself, not just in the catalogue. Keywords, title and description can be written into the image file, or into a sidecar file, as IPTC and XMP fields. File name and folder structure are software-independent anyway. That way your archive stays usable, whatever software you're using in ten years' time.

How do I link my photo archive and my sighting list?

Through a shared key feature. The combination of date and vehicle number works best, because both appear in both systems. If your file name contains the vehicle number and your sighting uses the same notation, you'll find the matching picture for every report and vice versa.

How often should I check my backup?

At least twice a year, and by doing a real restore: take a few files from the backup and open them. A backup that's never been tested is just an assumption. It's also worth doing an annual check for corrupted files, because damaged images often go unnoticed for years.

TT

Traintrack editorial team

We build the Traintrack app and go spotting ourselves – between main stations, depots and farm tracks. Every guide is based on our own experience and is updated regularly.

More articles in Sightings & records →

Read more in Sightings & records

Who is behind it

Groups, brands, manufacturers and operators – who owns whom and how to recognise them out in the field.

All railway companies →

Related spotting locations

Specific viewpoints with light times, coordinates and an honest assessment of whether the trip is worth it.

All spotting locations in Europe →

← Back to the blog