For getting back automatically after write a command or on periodically time do like this:
#conf t #service password-encryption #ip ftp username myUser #ip ftp password myPassword #archive #path ftp://myFtpServerIP/$h$t #time-period 1440 #write-memory #do wri
write-memory command is for writting configuration after using ‘do wri’ command, in this case every time you using do wri the configuration will write on ftp server
If you want to archive by your own do this
ftp://myUser:myPassword@FtpServerIP copy flash ftp: copy startup ftp: