# backup url

## Syntax

```
[no] backup url <url>
```

## Syntax Description

<table><thead><tr><th width="203">Keyword</th><th>Description</th></tr></thead><tbody><tr><td><code>no</code></td><td>(Optional) Disables automatic backup.</td></tr><tr><td>url</td><td>Specifies the backup file destination.</td></tr></tbody></table>

## Defaults

No automatic backup is performed by default.

## Usage Guidelines

The backup URL can refer to either a remote file or remote directory. If the URL ends in any character other than a slash (“/”), it is assumed to refer to a file name. The backup is written to that file, overwriting it if it already exists.

&#x20;If the URL ends in a slash, the system assumes it is pointing to a directory. In this case, the system will create a new file with the following format: hostname-YYYYMMDD-HHMMSS.backup.

&#x20;If the URL contains a password, it is encrypted so that it is not readable in the configuration file.

&#x20;Refer to the [URL Format](https://docs.islandrouter.com/island-router-cli-2.3.2/url-format) page for more information on the syntax of the url parameter.

## Examples

```
backup url scp://jane:d9fAq@192.168.38.7/myIsland.backup
```

## Related Commands

{% content-ref url="backup-interval" %}
[backup-interval](https://docs.islandrouter.com/island-router-cli-2.3.2/commands/backup/backup-interval)
{% endcontent-ref %}

{% content-ref url="../write/write-network" %}
[write-network](https://docs.islandrouter.com/island-router-cli-2.3.2/commands/write/write-network)
{% endcontent-ref %}

{% content-ref url="../configure-network" %}
[configure-network](https://docs.islandrouter.com/island-router-cli-2.3.2/commands/configure-network)
{% endcontent-ref %}
