Logging only files transferred not directories

Christian Hack christianh at edmi.com.au
Thu Oct 19 22:59:04 GMT 2006


Hello,

I'm running my rsynce server on Win2k3 Server. One client under Linux and
another on Win2k3 Server. The problem is not really OS related though.

My Server 2k3 client command is:
C:\Progra~1\cwRsync\bin\rsync -rtv --ignore-errors --stats --delete
--delete-during --delete-excluded
--link-dest=/cygdrive/d/previous/c/backup.1 --files-from=files-from.txt
--exclude-from=exclude-from.txt <src> <dst>

Before running I cycle the directories keeping the last 30 so the last sync
is in backup.1 and then I use the hard links feature. This all works just
fine and I can successfully keep about 30 copies of about 200GB of data in
600GB of space.

However, the resulting output from rsync shows every directory as being new
(since technically it is). If the backups aren't rotated, the directories
already exist and as such aren't printed. E.g. this is what I get

CVS/cvsrepo/EDMI/1560-Cal System Equipment/
CVS/cvsrepo/EDMI/1560-Cal System Equipment/CVS/
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z11-Frontend/
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z11-Frontend/calib.cpp,v
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z11-Frontend/calib.h,v
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z11-Frontend/history.txt,v
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z12-Calibration Database/
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z12-Calibration Database/CVS/
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z13-MiniCrunch2/
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z13-MiniCrunch2/CVS/
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z14-Crunch2k4/
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z14-Crunch2k4/CVS/

Is there any way to keep the verbosity high enough to print the transferred
files only? Otherwise every log file I get basically contains a complete
directory structure making it rather large and also somewhat difficult to
see where the backup is spending time... In the above example, I'd only want
to see:

CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z11-Frontend/calib.cpp,v
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z11-Frontend/calib.h,v
CVS/cvsrepo/EDMI/1560-Cal System Equipment/Z11-Frontend/history.txt,v

Suggestions?

Thanks

CH




More information about the rsync mailing list