Take the 3rd entry, have a glimpse at the rsync documentation and play around with rsync to get familiar with it. It is very easy - don't hesitate to ask for a particular problem but maybe in a non AIX-related sub forum.
Install the following rpm's (These are for AIX 6.1 so if they are not the same for 5.3, then just try to install rsync. It will tell you the dependencies that your missing and just grab them and install them).
There are several other switches to rsync that you can use, so you can check out the help screen by typing
once you have it installed. But this one should work for a basic rsync. It will also clean up any files on the target system that are not on the source system when it is done syncing. If you dont want that to happen then just leave out the
If you set up ssh keys between the two systems you can cron it to run at certain times of the day and you will not have to enter a password to make the connection betwen the two systems, rather it will use the keys to authenticate.
To do that just switch user to the user you want to rsync as and:
It will copy your keys in the home directory of the user that you initiate the keygen command as, so something like this /home/user/.ssh/id_rsa.pub.
Take the public key from the source systems and copy it into the destination system under /home/user/.ssh/authorized_keys. If the authorized_keys file does not exist then create it and copy the public key there.
This should get you up and working with rsync. I just put this up off of memory so hopefully i did not miss anything, but this should get you going.
You can use the "which"-command as any user, not just as oracle. ;-))
"which" is correct and its output means that there is a command named "rsync" located at "/bin/rsync".
A small side remark: note, that "which" just searches through the contents of your PATH-variable. If it doesn't find a specific binary that doesn't mean it isn't there but that it is not found in any of the directories mentioned in the PATH-variable. This is why using "rpm -qa | grep <yourcommand>" is a somewhat more reliable method of finding out if it is installed or not.
I once used rsync in an AIX 5.1 environment and had troubles with it. (The rsync job would tear down the inetd and every other network daemon with it sometimes, resulting in an "autistic" system that could only be revived by a reboot.) Probably my experiences will not apply to the situation today, but a bit caution would be in order. Not that my problem only happened after some bigger amount of data had been transferred and not every time we started "rsync". We never found out what exactly the problem was and ultimately gave up "rsync" altogether.
I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location
I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Hi experts,
We need copy 5TB data from one server to another (over a 10Gbps link). We plan to use rsync -av remote:/<path /local on destination server but there're few special requirements like:
1. data copy process should run only from 18:00 Hrs to 07:00 every day until copy is completed. Is... (1 Reply)
Using nimadm:
nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y
Initializing the NIM master.
Initializing NIM client sap024.
0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT
spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Am I correct in assuming that the following command:
rsync -a /a /b
does not make any changes on /a if there are files on /b that are newer (2 Replies)
hi there I wonder if some-one can help.
I am trying to use rsync on my mac to transfer a folder to a remote machine.
I have logged into rysnc on my mac no problem and I'm trying to execute this command:
rsync -a -e ssh /Users/myname/myfolder/sourcefolder/... (3 Replies)
I'm just trying to use rsync to retreive the file from different servers with script. i want to look for a file, if the file exists, then retreive the file from different servers, and put it in one file. I have the following command.
rsync -v -e ssh jerry@openbsd.nixcraft.in:~/webroot.txt /tmp ... (5 Replies)
I have to update my files to 2-4 servers and I tar all the files and ftp to every server. I have heard about Rsync, but are there any other ways that are the same as Rsync?> (1 Reply)
I want to do rsync only for the difference in the last 30 days. How do I specify the "30 days" on the command line below?
>rsync -avz prj# /rsource /destination
Thanks for help (6 Replies)