## TL;DR

When restoring Vald from an S3 backup, set sidecar.initContainerMode to true in the agent sidecar config. Without sidecar.initContainerMode set to true, the restore step silently never runs and the pod starts with an empty index.

## Steps

1. When restoring Vald from an S3 backup, set sidecar.initContainerMode to true in the agent sidecar config. Without it the agent never downloads or indexes the backup file, and the pod boots empty. With PV restores the file mounts automatically at pod start; with PV plus S3 the PV copy wins.

## When to use

You are seeing this: Without it the agent never downloads or indexes the backup file, and the pod boots empty. Use this skill when you run into "Vald S3 restore needs sidecar initContainerMode true or nothing happens".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
