Every time write memory is written on the Ethernet switch, the configuration backup will be automatically saved as hostname-time in the config folder on the (s)FTP server.
FTP:
ip ftp username <FTP-USER>
ip ftp password <FTP-PASS>
archive
log config
logging enable
logging size 500
notify syslog
hidekeys
path ftp://<FTP-SRV-IP>/config/$h-$t
write-memory
sFTP:
archive
log config
logging enable
logging size 500
hidekeys
notify syslog
path sftp://<sFTP-USER>:<sFTP-PASS>@<FTP-SRV-IP>/config/$h-$t
write-memory
