AIXThis forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi.
I am trying to do a refresh of an environment from "server A" (source) to "server B" (target). Server B has very little room, otherwise I'd tar up the files and move the tarball over.
I'd like to copy files from A to B, replacing the current files on B with the up to date files on A via named pipe. I did something like this a good ten years ago, but I've forgotten any of the details.
Hi.
I am trying to do a refresh of an environment from "server A" (source) to "server B" (target). Server B has very little room, otherwise I'd tar up the files and move the tarball over.
I'd like to copy files from A to B, replacing the current files on B with the up to date files on A via named pipe. I did something like this a good ten years ago, but I've forgotten any of the details.
Rsync is the way to go here. While this is a Linux utility, it is supported on AIX:
Hi.
I am trying to do a refresh of an environment from "server A" (source) to "server B" (target). Server B has very little room, otherwise I'd tar up the files and move the tarball over.
I'd like to copy files from A to B, replacing the current files on B with the up to date files on A via named pipe. I did something like this a good ten years ago, but I've forgotten any of the details.
Any ideas?
Thank you in advance!
Technically pipes are only internal structures to a single system. A pipe cannot be used to provide a network connection to another system. For that you have to use something else to provide the network transfer - NFS mounts, ssh tunnels (scp or ssh), rsync (client and server), ftp... (and some ftp servers can create a tar file, pass the tar data across the net for storage, though I don't remember any that allowed tar on both sides).
A named pipe is a FIFO file - it has a file name reference, but that just allows independent connection to the pipe.
A named socket is closer - but it is still a structure for one system, and does not provide network transfers. A named socket is a generalized merger between a socket (two-way communication rather than a one way pipe) and a FIFO file.
I would like to say I also maintain a repository for AIX Tools, but as I do not wish to break any 'posting rules' - I will not post the URL here. Instead I'll only mention I package my tools in installp format, rather than RPM - and do my best to be sure they can co-exist with what you have already - AND - never create a situation that you cannot uninstall - as a few of the RPM package scripts do, as well as a need for a second runtime environment to support the gcc compiler dependencies (i.e., I build using the IBM vac compiler).
And thanks for the reminder - I built rsync last March - and forgot about it. But I'll have it accessible in about 10 minutes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.