# urbestack-backup-exclude-set

First published 3 Oct 2026 (release 0.1.0) · Unchanged since publication

UrbeStack release 0.2.35 command, run as root in the server shell.

## Usage

```
urbestack-backup-exclude-set --user USER --id N (--lock | --unlock)
```

## Description

Locks or unlocks a customer's backup exclusion. Use --id with the exclusion ID shown by urbestack-backup-exclude-list and specify exactly one of --lock or --unlock. Only an administrator can change the lock. Locking an exclusion prevents the customer from editing or removing it.

## Same in the API

- [PATCH /users/{name}/backup-excludes/{id}](https://urbestack.com/docs/api/patch-users-name-backup-excludes-id.md): Lock or unlock a customer's backup exclusion

## Command family: backup

- [urbestack-backup-account-list](https://urbestack.com/docs/commands/urbestack-backup-account-list.md): Lists customers as shown in the Backups section of the administrator's panel, with each customer's name, package and account state.
- [urbestack-backup-del](https://urbestack.com/docs/commands/urbestack-backup-del.md): Deletes one of the customer's own archives from backups/ in their home directory.
- [urbestack-backup-exclude-add](https://urbestack.com/docs/commands/urbestack-backup-exclude-add.md): Adds a path to the customer's backup exclusions.
- [urbestack-backup-exclude-del](https://urbestack.com/docs/commands/urbestack-backup-exclude-del.md): Removes an exclusion from the customer's backup list.
- [urbestack-backup-exclude-list](https://urbestack.com/docs/commands/urbestack-backup-exclude-list.md): Lists the customer's backup exclusions in path order.
- [urbestack-backup-list](https://urbestack.com/docs/commands/urbestack-backup-list.md): Lists the customer's own archives in backups/ at the top of their home directory, newest first.
- [urbestack-backup-make](https://urbestack.com/docs/commands/urbestack-backup-make.md): Creates a .tar.gz archive for one customer or reseller.
- [urbestack-backup-remote-key](https://urbestack.com/docs/commands/urbestack-backup-remote-key.md): Shows the public key and fingerprint of UrbeStack's Ed25519 key pair for remote backups, along with any recorded host key.
- [urbestack-backup-remote-test](https://urbestack.com/docs/commands/urbestack-backup-remote-test.md): Tests the remote backup destination, as the Test button does.
- [urbestack-backup-run](https://urbestack.com/docs/commands/urbestack-backup-run.md): Creates the server's backup for the day.
- [urbestack-backup-status](https://urbestack.com/docs/commands/urbestack-backup-status.md): Shows the backup status displayed in the Backups section and on the dashboard card in the administrator's panel.
