I ran the script with the -c option. The message was that that file is up to date. I will check the other computer and see if the users are loading the proper file (there are two with the same name but in different directories). One last thing, i do NOT need to be running rsync in daemon mode in any of the computers, right? Thanks for your help, On Thu, 30 Aug 2001, Dave Dykstra wrote:> On Thu, Aug 30, 2001 at 06:23:49AM -0500, Erick Perez - Network Administrator wrote: > > thanks, i already corrected the sendmail entry. > > No, i am not using -n > > > > Also, is there any indication when rsync will tell me that a file is > > "uptodate"... > > If you use the -t preserve timestamps option, if the timestamps still match > the next time it will completely skip it and not print out the file. Even > if the contents match it will print out the filename. To avoid that you > could have it first do a checksum on the contents with the -c option but > keep in mind that does an extra complete pass through the whole file on > both ends and usually it is not worth it. > > - Dave Dykstra >-- Erick Perez Network Administrator Mitchell Anderson & Blythe eperez@mitchellanderson-blythe.com
Hi there, I like to have your advice in the following attemp. I have a binary file that needs to be mirrored every one hour from this server to another server via SSH. Here is the command (all in one single line). /usr/bin/rsync /home/mabf/SparkNuevo/PMSystem97-Data.mdb thor.morrisoncrossfinancial.com:/home/admpac/spark/SparkNuevo/ -vv -e ssh -p -o -g Here is the output of this command: PMSystem97-Data.mdb wrote 44072 bytes read 60084 bytes 3109.13 bytes/sec total size 9766912 speedup 93.77 The thing is that if I run this command N times, the output is the same and the other machine never sees the changes. Am I doing something wrong? Also, what means the output of the --verbose command shown above? Boxes: Two Mandrake 8.0 with rsync 2.4.6 (latest) Thanks, -- Erick Perez Network Administrator Mitchell Anderson & Blythe eperez@mitchellanderson-blythe.com
Correct, you do not need to run in daemon mode. Note that the datestamp on your system is off by a year. - Dave Dykstra On Wed, Aug 30, 2000 at 12:42:22PM -0500, Erick Perez - Network Administrator wrote:> > I ran the script with the -c option. The message was that that file is up > to date. > I will check the other computer and see if the users are loading the > proper file (there are two with the same name but in different > directories). > One last thing, i do NOT need to be running rsync in daemon mode in any of > the computers, right? > > Thanks for your help, > > > On Thu, 30 Aug 2001, Dave Dykstra wrote: > > > On Thu, Aug 30, 2001 at 06:23:49AM -0500, Erick Perez - Network Administrator wrote: > > > thanks, i already corrected the sendmail entry. > > > No, i am not using -n > > > > > > Also, is there any indication when rsync will tell me that a file is > > > "uptodate"... > > > > If you use the -t preserve timestamps option, if the timestamps still match > > the next time it will completely skip it and not print out the file. Even > > if the contents match it will print out the filename. To avoid that you > > could have it first do a checksum on the contents with the -c option but > > keep in mind that does an extra complete pass through the whole file on > > both ends and usually it is not worth it. > > > > - Dave Dykstra > > > > -- > Erick Perez > Network Administrator > Mitchell Anderson & Blythe > eperez@mitchellanderson-blythe.com > > >