Use this command to synchronize the infx software and configuration files between hosts. Only the software and infx configuration files are sent, no data or other instance information is included.
usageinfx rsync dest [ destdir delete=no|yes dry=yes|no ] rsync software to remote host required dest - remote host to send software to destdir - alternate location for infx software on remote host delete - include --delete option on rsync command dry - only list files to be transferred local - include local config and script files noenv - include the noenv inst structure in the rsync sw - include /infx/sw in the rsync Note: before you can rsync the software,
exampleCopy the infx software to host awsvps01. demo1@bobii:/home/informix>infx rsync dest=awsvps01 including /infx/etc/rsync-exclude.ini rsync infx software -av --cvs-exclude --exclude-from=/infx/inst/demo1/tmp/rsync.exclude ./etc ./lib ./scripts ./template ./www awsvps01:/home/informix/infx/ sending incremental file list sent 19531 bytes received 53 bytes 3560.73 bytes/sec total size is 2370670 speedup is 121.05 rsync completed Send the noenv instance set up files demo1@bobii:/home/informix>infx rsync dest=awsvps01 noenv=yes including /infx/etc/rsync-exclude.ini rsync infx software -av --cvs-exclude --exclude-from=/infx/inst/demo1/tmp/rsync.exclude ./etc ./lib ./scripts ./template ./www awsvps01:/home/informix/infx2/ sending incremental file list sent 19531 bytes received 53 bytes 3560.73 bytes/sec total size is 2370670 speedup is 121.05 rsync completed rsync noenv settings sending incremental file list noenv/ noenv/informixdir -> /infx/sw/latest noenv/etc/ noenv/logs/ noenv/photo/ noenv/tmp/ noenv/tmpdir/ sent 214 bytes received 39 bytes 46.00 bytes/sec total size is 15 speedup is 0.06 rsync completed directories includedThe following directories are included in the rsync
notes
|
home > manage infx >