# urbestack-backup-remote-test

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-remote-test
```

## Description

Tests the remote backup destination, as the Test button does. It connects over SSH to backups.remote_host on backups.remote_port as backups.remote_user, using UrbeStack's key. It creates the key pair if needed. On the remote host, it creates backups.remote_path and any missing parent directories, then lists the contents, including the backup day folders.

On the first connection, UrbeStack records the SSH host key in its known_hosts file for future transfers and reports the fingerprint. If the host key has changed, the test refuses the connection. After verifying the change, run urbestack-backup-remote-key with --forget-host and test again.

The test also fails if the host does not respond, rejects UrbeStack's key, or lacks rsync. The nightly transfer uses rsync at both ends.

## Same in the API

- [POST /backups/remote/test](https://urbestack.com/docs/api/post-backups-remote-test.md): Test the remote backup destination

## 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-exclude-set](https://urbestack.com/docs/commands/urbestack-backup-exclude-set.md): Locks or unlocks a customer's backup exclusion.
- [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-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.
