Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
You could use wget to synchronize different types of servers like http, ftp, ... Can you indicate the use for this synchronization? Are you trying to keep a mirror of a FTP server for backup purposes? Do you have SSH access to that server or only FTP? The more information you provide the better we can help.
Hi
my team was directly working on my remote server
for speed I want them to work on local server and then changes to local server are transferred to remote server
I have ftp account to the remote server I can get ssh access
I'm not sure if you could do what you want using only FTP, maybe someone else can clarify on that point. But if you can get SSH access then you can easily set up synchronization with rsync, or even better (my personal opinion) with Unison File Synchronizer. Have a look at the features, you'll be surprised. I have it set up to synchronize configuration files between various servers so that our developers only have to make their changes in one place.
I'm not sure if you could do what you want using only FTP, maybe someone else can clarify on that point. But if you can get SSH access then you can easily set up synchronization with rsync, or even better (my personal opinion) with Unison File Synchronizer. Have a look at the features, you'll be surprised. I have it set up to synchronize configuration files between various servers so that our developers only have to make their changes in one place.
Kind regards,
Eric
Sorry to jump in, but I've just been thinking about something similar. Thanks
Hi
my team was directly working on my remote server
for speed I want them to work on local server and then changes to local server are transferred to remote server
I have ftp account to the remote server I can get ssh access
Regards
i would recommend not using the old antiquated ftp protocol and instead use the much more secure scp. the added benefit you can automate things more easily in scripts without using plain text passwords.
Hi
I failed to install unison on the remote server
on both servers I used centos 5 can you give suitable binary and how to install it
Regard
Hello,
How did you try to install it? Using your package manager? Is Unison available for CentOS in the repositories you use? You could download a RPM from this site for your OS/architecture. Be sure to have the dependencies installed if you don't use your package manager or alternatively download and installed all dependencies also.
Glad you got it working! Unison has a very complete and easy to understand online manual (or you can consult the man page for unison). I'm sure you'll find your answer in there.
unison is working like magic
i do every this i need
but there is one last question
when i write
unison myfolder ssh://remotemachine//pathe_folder
it always ask my about root password
how can i pass the password in arguments to make this process done automatically by cron tab ,I've read the manual and did not find any thing about this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.