(incus_move.md)=
# `incus move`

Move instances within or in between servers

## Synopsis
```{line-block}

Description
  Move instances within or in between servers

  Transfer modes (--mode):
   - pull: Target server pulls the data from the source server (source must listen on network)
   - push: Source server pushes the data to the target server (target must listen on network)
   - relay: The CLI connects to both source and server and proxies the data (both source and target must listen on network)

  The pull transfer mode is the default as it is compatible with all server versions.




```
```
incus move [<remote>:]<instance> [<remote>:][<new instance name>] [flags]
```

## Examples

```
  incus move [<remote>:]<source instance> [<remote>:][<destination instance>] [--instance-only]
      Move an instance between two hosts, renaming it if destination name differs.

  incus move <old name> <new name> [--instance-only]
      Rename a local instance.
```

## Options

```
      --allow-inconsistent[=true|false]   Ignore copy errors for volatile files
  -c, --config                            Config key/value to apply to the target instance (may be passed multiple times)
  -d, --device                            New key/value to apply to a specific device (may be passed multiple times)
      --instance-only[=true|false]        Move the instance without its snapshots
      --mode                              Transfer mode. One of pull, push or relay (default "pull")
      --no-profiles[=true|false]          Unset all profiles on the target instance
  -p, --profile                           Profile to apply to the target instance (may be passed multiple times)
      --refresh[=true|false]              Transfer a running container incrementally to reduce its downtime (requires --stateless)
      --stateless[=true|false]            Move the instance without its runtime state (no live migration)
  -s, --storage                           Storage pool name
      --target                            Cluster member name
      --target-project                    Move to a project different from the source
```

## Options inherited from parent commands

```
      --debug[=true|false]          Show all debug messages
      --explain[=true|false]        If the command is valid, explain its parsed arguments instead of running it
      --force-local[=true|false]    Force using the local unix socket
  -h, --help[=true|false]           Print help
      --project                     Override the source project
  -q, --quiet[=true|false]          Don't show progress information
      --sub-commands[=true|false]   Use with help or --help to view sub-commands
  -v, --verbose[=true|false]        Show all information messages
      --version[=true|false]        Print version number
```

## SEE ALSO

* [incus](incus.md)	 - Command line client for Incus

