# urbestack-move-copy

First published 3 Oct 2026 (release 0.1.0) · Last changed 25 Nov 2026 (release 0.2.33)

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

## Usage

```
urbestack-move-copy (--user NAME[=NAME_HERE] [--user NAME[=NAME_HERE] ...] | --all) [--profile [--trust-files | --leave-files] [--setting KEY ... | --no-settings]] [--job ID]
```

## Description

Copies accounts to the destination server while the source server continues serving them. Use --user for each account or --all for every account that has yet to move. A reseller's customers come with the reseller, who is copied first. UrbeStack checks that the account names and domains are available and that the destination meets each account's requirements. If anything needs to be installed, it stops and lists the installation commands in the order to run them. Use --job to supply an existing job ID. By default, the command creates a job.

On an UrbeStack source, the account's DNS zone TTLs drop to five minutes. The destination imports the account records, including secrets, and installs the existing certificates as they are. The copy stays suspended until cutover, so cron jobs keep running only on the source and the source continues handling mail. The home directory, including sites and mail, is copied by rsync over SSH. Each database is dumped on the source and loaded on the destination. Run the copy again as often as needed. Rsync transfers only changed files and removes files deleted on the source. The copy also removes domains, databases, FTP accounts and keys removed from the source since the last copy. For zones whose nameservers are elsewhere, the report lists the DNS records to change by hand at cutover. If the copy fails, the reduced TTLs are the only change on the source.

Use --user NAME=NAME_HERE to choose an available username on the destination when the source username is already taken, reserved or invalid there. The imported records and home directory use the new name, and a reseller keeps their customers under that name. UrbeStack rewrites full paths to the old home directory where it can and counts the files it leaves as they are, as it does when importing from another control panel. Use the source name for later copies and at cutover. UrbeStack reuses the destination name and refuses a different one.

Use --profile to import an UrbeStack source server's settings and packages before copying accounts. The command refuses --profile for a source that runs another control panel. Use --profile alone to set up a server without copying accounts. urbestack-move-profile-preview shows what would change. By default, every setting comes across. Repeat --setting KEY to select individual settings or use --no-settings to import only packages. Either way, all packages are included.

If the profile contains files that root runs or renders, UrbeStack requires --leave-files or --trust-files. --leave-files imports settings and packages and lists the files set aside. The report includes the rsync command to fetch them into /root/urbestack-review and the command to import them after review. The Move section of the web interface uses this behavior. Use --trust-files at the shell after reviewing the files to import the overrides, hooks and registered files along with the rest of the profile.

For a source that runs another control panel, urbestack-move-test identifies the panel. The source packs the account without its home directory in /home/urbestack-move. The destination fetches the archive and removes it from the source, then copies the home directory directly by rsync, placing the account's own mail in the corresponding mailbox. The rest follows the same import process and report as urbestack-foreign-import. Later copies update the home directory, mail, mailboxes, databases, certificates and cron jobs. The account, its domains and its DNS records come from the first copy.

## Command family: move

- [urbestack-move-cutover](https://urbestack.com/docs/commands/urbestack-move-cutover.md): Cuts over accounts that have been copied at least once.
- [urbestack-move-forget](https://urbestack.com/docs/commands/urbestack-move-forget.md): Forgets the source server of a move.
- [urbestack-move-list](https://urbestack.com/docs/commands/urbestack-move-list.md): Lists the customers and resellers on the source server after testing the connection.
- [urbestack-move-profile-preview](https://urbestack.com/docs/commands/urbestack-move-profile-preview.md): Previews what importing the source server's profile would change on the destination.
- [urbestack-move-source-begin](https://urbestack.com/docs/commands/urbestack-move-source-begin.md): Marks an account as leaving and lowers its DNS zone TTLs to 300 seconds so cached answers can expire within five minutes of cutover.
- [urbestack-move-source-dump](https://urbestack.com/docs/commands/urbestack-move-source-dump.md): Writes one database's SQL dump to standard output.
- [urbestack-move-source-freeze](https://urbestack.com/docs/commands/urbestack-move-source-freeze.md): Freezes an account on the source server for the final copy at cutover.
- [urbestack-move-source-handover](https://urbestack.com/docs/commands/urbestack-move-source-handover.md): Hands over a frozen customer or reseller account from the source server once it is live on the destination.
- [urbestack-move-source-info](https://urbestack.com/docs/commands/urbestack-move-source-info.md): Reports the source server's UrbeStack version, schema, hostname, nameservers and IP addresses, along with an inventory of its customer and reseller accounts.
- [urbestack-move-source-profile](https://urbestack.com/docs/commands/urbestack-move-source-profile.md): Returns the source server's profile for a move of all its accounts to another UrbeStack server.
- [urbestack-move-source-release](https://urbestack.com/docs/commands/urbestack-move-source-release.md): Releases an account from its current move state on the source server.
- [urbestack-move-source-slice](https://urbestack.com/docs/commands/urbestack-move-source-slice.md): Returns one account's data as it appears in a nightly export.
- [urbestack-move-status](https://urbestack.com/docs/commands/urbestack-move-status.md): Reports the status of a move on the destination server.
- [urbestack-move-test](https://urbestack.com/docs/commands/urbestack-move-test.md): Tests whether the server configured in move.source_host and move.source_port can serve as a move source.

## Change log

Most recent first.

- 0.2.33 · 25 Nov 2026 · The command rejects names this server cannot assign before copying. The command reports all affected accounts without a replacement name supplied as --user NAME=NAME_HERE before doing any work on the source server.
- 0.1.0 · 3 Oct 2026 · First published.
