With the help of the tool kron and archive, a copy of the switch or router configuration can easily be stored on a remote server at the same time. In this example, a backup is stored on a TFTP server daily at 23:30.

conf t
archive
log config
logging size 1000
notify syslog contenttype plaintext
hidekeys
path tftp://10.10.10.10/Configs/$h-$t.log
write-memory
kron occurrence daily-config-backup at 23:30 recurring
policy-list backup-config
kron policy-list backup-config
cli write memory
end
copy run start