---
name: "bupstash-recover-removed"
section: "1"
platform: "linux"
package: "bupstash"
version: "0.12.0-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/bupstash-recover-removed"
---

# bupstash-recover-removed(1)

## SYNOPSIS

Recover repository items that were removed, but that have not yet been deleted via garbage collection.

**bupstash recover-removed \[OPTIONS\]**

## DESCRIPTION

**bupstash recover-removed** allows a user to undo all 'rm' operations that have taken place since the last invocation of [bupstash-gc(1)](/bupstash-gc/1.md). In other words, this command provides a way to correct errors and accidental invocations of [bupstash-rm(1)](/bupstash-rm/1.md).

**bupstash recover-removed** requires 'put' and 'get' permissions for the repository being operated on.

## OPTIONS

- \-r, --repository REPO

  The repository to connect to and operate on. May be of the form **ssh://$SERVER/$PATH** for remote repositories if ssh access is configured. If not specified, is set to **BUPSTASH\_REPOSITORY**.

- \--no-progress

  Suppress progress indicators (Progress indicators are also suppressed when stderr is not an interactive terminal).

- \-q, --quiet

  Be quiet, implies --no-progress.

## ENVIRONMENT

- BUPSTASH\_REPOSITORY

  The repository to connect to. May be of the form **ssh://$SERVER/$PATH** for remote repositories if ssh access is configured.

- BUPSTASH\_REPOSITORY\_COMMAND

  A command to run to connect to an instance of [bupstash-serve(1)](/bupstash-serve/1.md). This allows more complex connections to the repository for less common use cases.

## SEE ALSO

[bupstash(1)](/bupstash/1.md), [bupstash-rm(1)](/bupstash-rm/1.md), [bupstash-gc(1)](/bupstash-gc/1.md)
