Design Global File Search Across Years of Backup Snapshots

Last updated: November 29, 2026

Quick Overview

Design a service that lets an admin search by file name, path or extension across every snapshot of thousands of servers and file shares, and see which versions of a file exist and when it changed.

Rubrik
System Design
Software Engineer
Rubrik
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design a service that lets an admin search by file name, path or extension across every snapshot of thousands of servers and file shares, and see which versions of a file exist and when it changed.

Finding the last good copy of a file is a daily Rubrik workflow, and during an incident it has to work across the whole estate. The interviewer is checking how you index snapshot contents without storing a full copy of the namespace per snapshot.

What the Interviewer Expects
  • Estimate index size and see why per-snapshot full indexes explode
  • Store file versions as ranges of snapshots (valid from, valid to)
  • Index incrementally from snapshot diffs
  • Support prefix and wildcard name search
  • Enforce access control on results
  • Keep query latency low with sharding
Key Topics to Cover
inverted index
versioned metadata
incremental indexing
sharding
search
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you answer 'show me every snapshot where /finance/q3.xlsx existed'?
  • Search must also cover archived snapshots in object storage. How?
  • How would you extend this to search by file content or sensitive data type?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Search by name substring or prefix, extension, path, size and time ranges, scoped to objects the user may see. Results list files with their version history. Scale: 10k objects, 10 million files each ...

High-Level Design

After each snapshot, an indexer walks the snapshot's file system metadata (not data), diffs it against the previous index state, and emits version records `(object, path, file_id, size, mtime, valid_f...


Submit Your Answer
Markdown supported

Related Questions