My backup scripts consist of a master script running on the main server and a small slave on each VM or remote machine. The master calls up the slave via SSH and directs stderr to the log and stdout to the dumpfile. The slave MUST send ONLY the dump over stdout, all other reporting is done over stderr.
Integrating a VMS VM into this! I've hit two problems:
- I can't find a way to cleanly link SYS$OUTPUT to stdout and SYS$ERROR to stderr, and then ensure that ONLY the saveset flows over SYS$OUTPUT/stdout.
- Alternatively, I've tried running the BACKUP command through OpenSSH, but specifying a remote file for the saveset won't work. I know it's easy with DECnet (done it often enough in the past) but I'd like to do it over TCP/IP/OpenSSH.
Code: Select all
$ BACKUP /IMAGE /RECORD /COMMENT='gemini-dka100' dka100: "<FQDN>:/tmp/bups-gemini-dka100-rkMXUm"/save_set
Any suggestions/pointer please?