Backup and Restore

Okapi > General purpose > Backup and Restore

 

Introduction

 

Backup : The process of making copies of the current configuration so that these copies can later be used to restore the original state in the event of an undesirable change or data loss.

Restore : Restoring the system to the original state in the event of an undesirable change or data loss, using the stored backups.

 

 

Backup & Restore Startup Configuration

 

Using SCP Protocol over SSH Server

Okapi# copy startup-config scp 
Address or name of remote host []? 10.20.50.68
Destination username [router]? root
Destination filename [okapi-config.tar]? backup.tar

The above configuration stores the startup configuration as backup.tar on the SSH server 10.20.50.68

Okapi# copy scp startup-config 
Address or name of remote host []? 10.20.50.68
Source username [router]? root
Source filename []? backup.tar

The above configuration restores the startup configuration from the SSH server 10.20.50.68

 

Using TFTP Server

Okapi# copy startup-config tftp 
Address or name of remote host []? 10.20.50.68
Destination filename [okapi-config.tar]? backup.tar

The above configuration stores the startup configuration as backup.tar on the TFTP server 10.20.50.68

Okapi# copy tftp startup-config 
Address or name of remote host []? 10.20.50.68
Source filename []? backup.tar

The above configuration restores the startup configuration from the TFTP server 10.20.50.68