I have a DOS batch file that calls *.scr script to back up an existing routine and upload the newly updated one.
I have a backup folder setup in C:\Users\[username]\Backup\ on each server, some with more recent versions of cache. The *.scr script calls on the command: $SYSTEM.OBJ.Export(routine,path) .