# Backup and restore configuration using Trivial File Transfer Protocol (TFTP)

Run tftp server (pumkin on tftpd)

Ensure tftp server is listening
```bash
ping 192.168.74.129
```

# Backup (from ASA)


[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2025-11/scaled-1680-/RzkPa5uYKZNZGuQf-image-1763801956906.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2025-11/RzkPa5uYKZNZGuQf-image-1763801956906.png)

```cisco
copy running-config tftp://192.168.74.129
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2025-11/scaled-1680-/yjG7OhLn7OMk1SxQ-image-1763802041738.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2025-11/yjG7OhLn7OMk1SxQ-image-1763802041738.png)

On the server side:

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2025-11/scaled-1680-/9gWaxiQFyIb87dcM-image-1763802257073-1207.PNG)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2025-11/9gWaxiQFyIb87dcM-image-1763802257073-1207.PNG)

Rename config.

[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2025-11/scaled-1680-/vge6nnSbCSbBdgdu-image-1763802558260-1212.PNG)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2025-11/vge6nnSbCSbBdgdu-image-1763802558260-1212.PNG)


# Restore (to ASA)

- ensure the correct name of config exists before pulling it from target.
- configuration will be applied immedeately (otherwise, use 'startup-config' as a destination file)

```cisco
copy tftp://192.168.74.129/running-config.2025-09-20.2040.working running-config
```
[![](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2025-11/scaled-1680-/pCGOabp4d7SAixFs-image-1763802714006.png)](https://storage.googleapis.com/iau-data-dox/uploads/images/gallery/2025-11/pCGOabp4d7SAixFs-image-1763802714006.png)

Login and overwrite startup config, reboot if needed.
```cisco
wr m
reload
```