
On Sun, 2006-07-02 at 23:58 -0700, Tony Baechler wrote:
If rsync will grab all the files I need and put them in my customized structure, rsync will help. However, based on my reading of the help, it doesn't do that.
In fact, it does exactly that, depending on how you tell it where to put the files its copying over. You may have to script a bit of it or run several rsync commands in a series to get what you want (fetch text first, indices next and so on). rsync -avSP --delete *[0-9].txt /my/custom/directory rsync -avSP --delete *.gz /other/place ...and so on. I've been using rsync for MANY years now, and tridge is one of the alumnus' of a previous company we both worked for (Linuxcare), so I can say with absolute-certainty, that if you're running into trouble with what rsync does for you, you're doing something wrong ;) If there's one thing rsync does well, its everything. There are even people out there who use rsync _exclusively_ as their MTA/MDA. Nutty, but true.
It would be perfect for mirroring a primary server to a backup machine. Again, I'm not trying to mirror here so it doesn't do what I want based on my understanding of comments made on this list and the rsync help.
It can do a lot of things, incremental backups, snapshots, mirroring, cloning of directories, complete transposition... pretty much anything you want. It just takes a remote file, block-copies it to some local place (or local to local, if you're cloning a drive for example. I've used rsync quite a bit to upgrade hard drives in laptops, works great). In any case, just define your schema and apply the rsync methodology to it. No need to get complicated or fancy. Oh, and lastly... rsync does NOT have to have the same version running on both ends. If that were true, it would break in thousands of situations. You simply have to have a version which understands the options you're passing it (i.e. rsync v1.x isn't future-compatible with v2.6.6). I can't speak for the Windows <-> Linux syncronization, but it should be moot. You don't need to run rsyncd to rsync files from machine to machine either, but you can if you wish. Good luck! -- David A. Desrosiers desrod gnu-designs com http://gnu-designs.com "Erosion of civil liberties... is a threat to national security."