Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have two machines on which I need to sync certain
directory trees. That is, one machine is "live" and
the directory trees are being updated in the course of doing business. The other one is on "standby".
The reason for this is that I am using an old, small, slow server with an older Slackware distribution. I would like to upgrade to a bigger, newer, faster machine, and the latest distribution with 2.6 kernel.
There is a great deal of stuff to get working on the new machine, and in the meantime, the business keeps chunking along. I cannot in any manner refrain from
using the server while I get the new one up. So by the
time I get the server working, many things will have
changed, and I will have to re-transfer the business files. Yuck!
The synchronization does not have to be in real time.
It can happen in the wee hours via a chron job. There are
three directory trees involved: one is 6.5gig, another 35 gig, and the third is IIRC about 4 gig. The two machines
are connected with a gigabit ethernet.
The 35-gig tree was espcially painful to transfer, because FTP just woulnd't make it through the whole tar file. I wound up gzipping it down to 25-gig, and using
split to bust it into 25 1-gig pieces. Then ftp'ed it all and ran md5sum on all the pieces on each machine. Then compared the md5 signatures to make sure the transfers were OK, then cat'ed them all together, gunzip'ed, untar'd. I really don't want to have to do that again.
So: is there a utility that can reasonably painlessly do such synchronization? Thanks in advance,
Rsync is my savior. I was doing a major overhaul of my systems, including a revamped file/dhcp/tftp/etc server. It took me about a month, off and on, to get everything together. Using rsync, I could keep all of the backups up to date while continuing to work during the whole time. When the time came to "switch", I just ran the rsync scripts one last time and then made the switch.