(incus_export.md)=
# `incus export`

Export instance backups

## Synopsis
```{line-block}

Description
  Export instances as backup tarballs.



```
```
incus export [<remote>:]<instance> [<target file>] [flags]
```

## Examples

```
  incus export u1 backup0.tar.gz
  	Download a backup tarball of the u1 instance.

  incus export u1 -
  	Download a backup tarball with it written to the standard output.
```

## Options

```
      --compression                      Compression algorithm to use (none for uncompressed)
  -f, --force[=true|false]               Force overwriting existing backup file
      --instance-only[=true|false]       Export the instance without its snapshots
      --optimized-storage[=true|false]   Use storage driver optimized format (can only be restored on a similar pool)
      --root-only[=true|false]           Export the instance without its dependent volumes
```

## 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

