← Problems

exclude-if-present skips whole backup source

The --exclude-if-present flag skips an entire source path when an ancestor directory holds the marker file.

Tier II · Emerging Problems that are still building up.

4 public reports · first reported 29 March 2026 · last reported 2 April 2026

Idea report · $9 · No contacts · All sales final

See a sample idea report

What's going wrong

Users running restic backup with the exclude-if-present option find that a marker file in a parent directory, such as a git folder in their home directory, causes restic to skip the whole path they explicitly asked to back up.

AI-assisted: written with the help of AI from the reports. The idea report has the full summary.

In the idea report

  • The full summary.
  • The products the 4 reports are about, and how many came each month.
  • Related problems.

No business has been found with this problem yet, so the report has no contacts. All sales are final — no refunds. Pricing.