(no subject)
Title: MSN Home Do you Have an Inkjet or Laser Printer? Yes? Then we can SAVE you $$$ Money! Our High Quality Ink Toner Cartridges come with a money-back guarantee, a 1-year Warranty*, and get FREE 3-Day SHIPPING !* and best of all...They Cost up to 80% Less than Retail Price! *Click here to visit Our Website!* www.inkjetscentral.com *90-day warranty on all remanufactured cartridges. Free shipping on orders of $40 or more You are receiving this special offer because you have provided permission to receive email communications regarding special online promotions or offers. If you feel you have received this message in error, or wish to be removed from our subscriber list, Click HERE or send an email to [EMAIL PROTECTED] and you will be removed within less than three business days. Thank You and sorry for any inconvenience.
Synchronizing two folders
Hello, I'm quite new to rsync, and after reading and checking some examples I still have a question regarding synchronization: What arguments should I use if I want to synchronize two folders? I need to make sure that after synchronization, contents on each side are the same. If I have new files in folder #2, these aren't copied to folder #1 after the process. It only passes files one way (folder #1 -- folder #2) Any ideas? Thanks so much, -- Tito -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
deleting (empty) directories
I am evaluating rsync for the mirroring of a website and associated database. To exercise it and establish the correct run string I need I am running tests LOCALLY between two test directories. I have a /scratch/temp/Departure and a /scratch/temp/Arrival trees. I apply changes to the Departure tree, run rsync, and do a diff -r. Now I delete a file in Departure rm Departure/Quattro/uno.file rsync -vvv -rlptPzu --delete \ /scratch/temp/Departure/* /scratch/temp/Arrival/ and it does work (deletes file from Arrival/Quattro/uno.file) Now I delete the only other file in the same directory rm Departure/Quattro/due.file and repeat rsync and it works too. Now Departure/Quattro is empty so I can remove it rmdir Departure/Quattro and repeat rsync and the empty directory is NOT removed !!! Why ? Apparently if I do the same game one level below (e.g. with Departure/Quattro/Sub) the empty directory Sub is instead deleted. I am using rsync version 2.5.5 protocol version 26 Ah, using the --force option does not help. I tried that. From -vvv it looks like that the missing top level directory Departure/Quattro gets not listed at all (contrary to Departure/Quattro/Sub) and therefore is ignored ... and Arrival/Quattro is left unchanged. What am I doing wrong ? Lucio Chiappetti - IASF/CNR - via Bassini 15 - I-20133 Milano (Italy) L'Italia ripudia la guerra [...] comeItaly repudiates war {...] as a mezzo di risoluzione delle controversie way of resolution of international internazionali controversies [Art. 11 Constitution of the Italian Republic] For more info : http://www.mi.iasf.cnr.it/~lucio/personal.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
rsync and schedule task
Greetings, i would like to rsync a client windows with a Linux server and put this in a windows schedule task. So i have generated ssh key with ssh-keygen on the client and sent it to the server.If i launch manually the rsync it's ok: i am not asked the password. But if i plan the task in the task scheduler i am asked the password ! What's wrong ? Thanks Franck -- Faites un voeu et puis Voila ! www.voila.fr -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
RE: rsync and schedule task
In fact it works ! But now the dos windows stay open and i have the message: receiving file list ... done wrote 16 bytes read 178 bytes 55.43 bytes/sec total size is 273981440 speedup is 1412275.46 I have to tape ctrl C to go out the dos windows. What is the problem ? Here is my .bat file: call c:\rsync\rsetup.bat c:\rsync\rsync251-2 -e ssh -av [EMAIL PROTECTED]:/var/sauvegarde/ e:\rsync_tar Thanks Franck Greetings, i would like to rsync a client windows with a Linux server and put this in a windows schedule task. So i have generated ssh key with ssh-keygen on the client and sent it to the server.If i launch manually the rsync it's ok: i am not asked the password. But if i plan the task in the task scheduler i am asked the password ! What's wrong ? Thanks Franck -- Faites un voeu et puis Voila ! www.voila.fr -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- Faites un voeu et puis Voila ! www.voila.fr -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Two-way Rsync problems with Deletions
Im trying to do a two-way rsync and it works ok for creating and updating files but file deletions are flawed. The only way to sync the fact that a file was deleted is to use the delete option, but this poses a problem. If Server A has file foo and Server B does not. Will rsync think that foo is new and copy it to Server B? Or will it think that foo is old and should be deleted from Server A? In my own testing this seems to be pretty sporadic. Sometimes I delete a file and it just comes right back, other times I create a file and it gets deleted right away. I cant help but think this problem could be fixed if I could do some kind Delete files that dont exist on the sending side, as long as the file is older than x minutes. I could be wrong, but I think this would completely solve my problem. New files would be replicated, and old deleted files would be removed. The only downside I see is that I wouldnt be able to delete files that are brand new, Id have to wait x minutes before I could delete a newly created file, but to me this is not nearly as big of a deal as the original problem. Anyone have any experience with this? Thanks. - Doug
rsync rsh XP-Unix Terminal Read cygwin
I can not get rsync to work when sending from my XP box to a Solaris,HPUX,or AIX host using rsh I am using the cygwin version of rsync, and the windows XP version of remsh. Can anybody tell me what is happening? Any hints on what to do next? Administrator@WOTTPAWLOWM-XP1 /cygdrive/e/perforce_data/atlantic_it4sb2/devroot/ src/iwr/impromptuserver/app.exe/child.lib $ rsync -v -n --progress htmltools.cpp defender:/home/pawlowsm/test Terminal read: The parameter is incorrect. rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) rsync: read error: Connection reset by peer rsync error: error in rsync protocol data stream (code 12) at io.c(162) Administrator@WOTTPAWLOWM-XP1 /cygdrive/e/perforce_data/atlantic_it4sb2/devroot/ src/iwr/impromptuserver/app.exe/child.lib $ rsh defender rsync --version rsync version 2.5.5 protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others http://rsync.samba.org/ Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, no IPv6, 64-bit system inums, 64-bit internal inums rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. Administrator@WOTTPAWLOWM-XP1 /cygdrive/e/perforce_data/atlantic_it4sb2/devroot/ src/iwr/impromptuserver/app.exe/child.lib $ rsync --version rsync version 2.5.5 protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others http://rsync.samba.org/ Capabilities: 32-bit files, socketpairs, hard links, symlinks, batchfiles, no IPv6, 32-bit system inums, 64-bit internal inums rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the GNU General Public Licence for details. Administrator@WOTTPAWLOWM-XP1 /cygdrive/e/perforce_data/atlantic_it4sb2/devroot/ src/iwr/impromptuserver/app.exe/child.lib $ This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
rsync daemon exit code
Greetings, I'm getting a different exit code from rsh versus daemon when syncing the same data. I've listed an example below. The exit code is 0 for the client to daemon example, it does not reflect the Permission denied errors. The second example is rsh and it returns exit code 23, looks like it reflects the errors. Any ideas? I'm using version 2.5.5 on Solaris 7 and 8. Thanks much for Rsync, its been great! And thanks for the help! Todd = [ xhowardt dcit ] /opt/open/rsync/2.5.5/bin/rsync --port=874 --archive dcit.dal.design.ti.com::lotools-1/ /tmp/ame/lotools-1 send_files failed to open //bin/add_punchindex: Permission denied send_files failed to open //bin/find_platform_exec: Permission denied send_files failed to open //bin/fix_netlist: Permission denied send_files failed to open //bin/remove_punchindex: Permission denied send_files failed to open //bin/spice3_compile_udm: Permission denied send_files failed to open //bin/tiscope: Permission denied [ xhowardt dcit ] echo $? 0 [ xhowardt dcit ] /opt/open/rsync/2.5.5/bin/rsync --archive /tmp/ema/lotools-1/ /tmp/ame/lotools-1 send_files failed to open /tmp/ema/lotools-1/bin/add_punchindex: Permission denied send_files failed to open /tmp/ema/lotools-1/bin/find_platform_exec: Permission denied send_files failed to open /tmp/ema/lotools-1/bin/fix_netlist: Permission denied send_files failed to open /tmp/ema/lotools-1/bin/remove_punchindex: Permission denied send_files failed to open /tmp/ema/lotools-1/bin/spice3_compile_udm: Permission denied send_files failed to open /tmp/ema/lotools-1/bin/tiscope: Permission denied rsync error: partial transfer (code 23) at main.c(578) [ xhowardt dcit ] echo $? 23 -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: rsync 2.5.5 segmentation fault on Linux x86.
stdin may be closed, or may appear to be a socket, fifo, pipe, or file, probably some stuff i don't know about. I remember rsync used to look at something in stdio, and act as if it were invoked with --daemon, even without that flag. Somebody'll correct the details. I just know that I have had, in the past, applications that didn't run in cron without and 2. Tim Conway [EMAIL PROTECTED] reorder name and reverse domain 303.682.4917 office, 303.921.0301 cell Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips, caesupport2 on AIM There are some who call me Tim? Erik Enge [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/01/2002 02:10 PM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: [EMAIL PROTECTED] Subject:Re: rsync 2.5.5 segmentation fault on Linux x86. Classification: [EMAIL PROTECTED] writes: Erik: One more thing to try: redirect in /dev/null to the rsync command. At one time, at least, its behaviour was different based on the nature of its STDIN. Make sure STDERR and STDIN are redirected somewhere, too... either a file or null. All our output are redirected to a file. What would STDIN for a cronjob be? Somehow that doesn't seem to make sense. Thanks for your response, Erik. -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Synchronizing two folders
there are two ways to make two directories identical with rsync. run it both directions run it in the direction you want the changes to move in, and use --delete to remove things on the destination that aren't on the source. The first one has the disadvantage that nothing ever goes away, unless you manually remove things on both sides. The second one has the disadvantage that anything added on the destination goes away. The second way is the more rsync-suited solution. Trying to maintain two disconnected copies of a file structure, allowing concurrent changes on both ends, is non-deterministic. sure, you could use -u, and get just the newest changes, but what about the changes made on the other end at the same time? unison (http://www.cis.upenn.edu/~bcpierce/unison/) is safer for that sort of work. It uses some of rsync's optimizations, but is time-aware, I think. If something has changed on both sides since the last sync, the change is not propogated, and comes up in an exception list of some sort, for manual reconciliation. Tim Conway [EMAIL PROTECTED] reorder name and reverse domain 303.682.4917 office, 303.921.0301 cell Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips, caesupport2 on AIM There are some who call me Tim? Tito Ciuro [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/02/2002 02:13 AM To: [EMAIL PROTECTED] cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject:Synchronizing two folders Classification: Hello, I'm quite new to rsync, and after reading and checking some examples I still have a question regarding synchronization: What arguments should I use if I want to synchronize two folders? I need to make sure that after synchronization, contents on each side are the same. If I have new files in folder #2, these aren't copied to folder #1 after the process. It only passes files one way (folder #1 -- folder #2) Any ideas? Thanks so much, -- Tito -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: deleting (empty) directories
change the * to a . /scratch/temp/Departure/* expands to /scratch/temp/Departure/Quattro /scratch/temp/Departure/otherdir /scratch/temp/Departure/andanotherdir. After removing Quattro, it's just /scratch/temp/Departure/otherdir /scratch/temp/Departure/andanotherdir. Only the items in the directory are considered. Quattro isn't mentioned, and not touched. you're saying make everything i've got in /scratch/temp/Departure's counterpart in Arrival just like in Departure. making it . means make the Arrival directory exactly like Departure. Nice addition... * expands only to non-dot files, so if you had like a .status or something in Departure, it'll propogate with ., but not *. Tim Conway [EMAIL PROTECTED] reorder name and reverse domain 303.682.4917 office, 303.921.0301 cell Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips, caesupport2 on AIM There are some who call me Tim? My old address [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/02/2002 06:07 AM To: Rsync Mailing List [EMAIL PROTECTED] cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject:deleting (empty) directories Classification: I am evaluating rsync for the mirroring of a website and associated database. To exercise it and establish the correct run string I need I am running tests LOCALLY between two test directories. I have a /scratch/temp/Departure and a /scratch/temp/Arrival trees. I apply changes to the Departure tree, run rsync, and do a diff -r. Now I delete a file in Departure rm Departure/Quattro/uno.file rsync -vvv -rlptPzu --delete \ /scratch/temp/Departure/* /scratch/temp/Arrival/ and it does work (deletes file from Arrival/Quattro/uno.file) Now I delete the only other file in the same directory rm Departure/Quattro/due.file and repeat rsync and it works too. Now Departure/Quattro is empty so I can remove it rmdir Departure/Quattro and repeat rsync and the empty directory is NOT removed !!! Why ? Apparently if I do the same game one level below (e.g. with Departure/Quattro/Sub) the empty directory Sub is instead deleted. I am using rsync version 2.5.5 protocol version 26 Ah, using the --force option does not help. I tried that. From -vvv it looks like that the missing top level directory Departure/Quattro gets not listed at all (contrary to Departure/Quattro/Sub) and therefore is ignored ... and Arrival/Quattro is left unchanged. What am I doing wrong ? Lucio Chiappetti - IASF/CNR - via Bassini 15 - I-20133 Milano (Italy) L'Italia ripudia la guerra [...] comeItaly repudiates war {...] as a mezzo di risoluzione delle controversie way of resolution of international internazionali controversies [Art. 11 Constitution of the Italian Republic] For more info : http://www.mi.iasf.cnr.it/~lucio/personal.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Two-way Rsync problems with Deletions
It looks like this is my promote unison day... quite a statement, considering i've never used it. unison (http://www.cis.upenn.edu/~bcpierce/unison/) That's a two-way syncronizer. rsync is a mirroring tool. Tim Conway [EMAIL PROTECTED] reorder name and reverse domain 303.682.4917 office, 303.921.0301 cell Philips Semiconductor - Longmont TC 1880 Industrial Circle, Suite D Longmont, CO 80501 Available via SameTime Connect within Philips, caesupport2 on AIM There are some who call me Tim? Doug Schasteen [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 10/02/2002 09:32 AM To: [EMAIL PROTECTED] cc: (bcc: Tim Conway/LMT/SC/PHILIPS) Subject:Two-way Rsync problems with Deletions Classification: I'm trying to do a two-way rsync and it works ok for creating and updating files but file deletions are flawed. The only way to sync the fact that a file was deleted is to use the ?delete option, but this poses a problem. If Server A has file 'foo' and Server B does not. Will rsync think that 'foo' is new and copy it to Server B? Or will it think that 'foo' is old and should be deleted from Server A? In my own testing this seems to be pretty sporadic. Sometimes I delete a file and it just comes right back, other times I create a file and it gets deleted right away. I can't help but think this problem could be fixed if I could do some kind Delete files that don't exist on the sending side, as long as the file is older than x minutes. I could be wrong, but I think this would completely solve my problem. New files would be replicated, and old deleted files would be removed. The only downside I see is that I wouldn't be able to delete files that are brand new, I'd have to wait x minutes before I could delete a newly created file, but to me this is not nearly as big of a deal as the original problem. Anyone have any experience with this? Thanks. - Doug -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
error in rsync protocol datastream(code12) at io.c(150)
Hi, I installed rsync-2.5.5 on both the boxes of redhat linux 7.3 and tried to execute rsync on box A I have given command like below rsync -avz /tmp/*.jsp machineb:/home/domains/rsyncdir/ but I got this problem error in rsync protocol datastream(code12) at io.c(150) OpenSSH vesrion is OpenSSH_3.1P1, SSH protocols 1.5/2.0, OpenSSL 0x0090602f Do I need to upgrade OpenSSH to 3.4p1 Any help greatly appreciated Thks in advance --Venkat -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
q When lenders compete, you win! bnur
Getting the money you need to pay off high-interest debts and credit cards may be just a call or a click away.For more than 20 years, homeowners have been turning to Mortgage Associates! to get money for debt consolidation, home improvements and to give their families the things they need.With a home loan from one of our Mortgage Associates, you can: Lower your monthly payments Get preapproved in 24 hours or less Work with the same loan expert from start to finish Enjoy possible tax advantages* With competitive rates and over 600 lenders nationwide, there's a Mortgage Associates program that can help you get control of your finances and more enjoyment out of life. CLICK HERE FOR MORTGAGE INFORMATION CLICK HERE FOR MORTGAGE INFORMATION This is a one-time opportunity to hear from us.We will not intentionally email you again. If you would like to have your email address removed from our list, please click HERE and we will promptly remove you. acawjwgdkesjpnvxesxmwokfvrlpxbc -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html