Re: using rsync to get filestats

2008-10-13 Thread Matt McCutchen
On Tue, 2008-10-14 at 00:28 -0400, Mag Gam wrote: > Great. Thanks matt. I was using the find method, but I want to find a > better way to get my directory sizes. I suppose a find -printf may > work. "find -printf" will give you the sizes of the directories (as lists of entries) themselves. If you

Re: using rsync to get filestats

2008-10-13 Thread Mag Gam
Great. Thanks matt. I was using the find method, but I want to find a better way to get my directory sizes. I suppose a find -printf may work. If anyone else has suggestions please let me know. TIA On Mon, Oct 13, 2008 at 11:57 PM, Matt McCutchen <[EMAIL PROTECTED]> wrote: > On Mon, 2008-10-13 a

Re: using rsync to get filestats

2008-10-13 Thread Matt McCutchen
On Mon, 2008-10-13 at 22:50 -0400, Mag Gam wrote: > Would it be more efficient to use rsync to get filestats instead of > using the 'find' command? I would like to know how big a directory is > on a filesystem, but this directory has millions of small files. I was > wondering if rsync would be more

using rsync to get filestats

2008-10-13 Thread Mag Gam
Would it be more efficient to use rsync to get filestats instead of using the 'find' command? I would like to know how big a directory is on a filesystem, but this directory has millions of small files. I was wondering if rsync would be more efficient than find when using "-n" options. TIA -- Ple

Re: --delete

2008-10-13 Thread Matt McCutchen
On Mon, 2008-10-13 at 23:20 -0400, Franck Y wrote: > I got the source and rebuild it since i needed the --backup-dir-dels > option. > > I sucesfully compiled it within my remote and my host. > > I have a little script that is working so i added the > --backup-dir-dels > > rsync --owner --group

Re: --delete

2008-10-13 Thread Franck Y
On Sun, Oct 5, 2008 at 2:19 PM, Matt McCutchen <[EMAIL PROTECTED]>wrote: > On Sun, 2008-10-05 at 01:03 -0400, Franck Y wrote: > > Quick Question i will have to download the source [to use a backup > > dir] ? > > > > It is already running on my system ? I have installed though a rpm ? > > Your RPM-

assert problem

2008-10-13 Thread BuraphaLinux Server
rsync -rltpcvxH --progress --delete /mnt/sdf1/dvd . lots of stuff works, but then dvd/setdir/www/web_admin-1.0-noarch-001.tgz 1306806 100%3.34MB/s0:00:00 (xfer#927, to-check=1004/2734) dvd/setdir/xlibs/ deleting dvd/setdir/xlibs/gstreamer-0.10.21-i586-001.tgz deleting dv

Re: rsync hangs during --remove-source-files

2008-10-13 Thread Matt McCutchen
On Mon, 2008-10-13 at 21:19 +0800, Thomas Gutzler wrote: > I'm using the following command to move files from a to b: > rsync -a --remove-source-files --ignore-existing /path/to/dir1/ > /path/to/dir2 >> logfile > dir2 isn't empty so I only move files from dir1 to dir2 that don't exist > already

Re: Rsync protocol specification

2008-10-13 Thread Matt McCutchen
On Sun, 2008-10-12 at 17:10 -0500, Paul Mantz wrote: > Does there exist a formal specification of the protocols, or is the > only way to learn the protocol to reverse engineer it from the source > tree? As far as I know, there is no specification other than the source tree. Matt -- Please use r

Re: push, pull confusion.

2008-10-13 Thread Matt McCutchen
On Mon, 2008-10-13 at 11:47 -0500, Mark Busby wrote: > I've been using rsync to back-up user files on samba shares. The idea was > to capture the file changes from day to day work, back all changes and new > files to a server with limited access. If someone wanted to delete the > files, there wo

Re: how to use --checksum-seed ?

2008-10-13 Thread Matt McCutchen
On Mon, 2008-10-13 at 11:02 -0400, CSights wrote: > I've been trying to use "--checksum-seed" to speed up backups . I have > a > homebrew script which creates incremental backups using hardlinks. To save > disk space I turn on --checksum so that when file's mod-times change rsync > does

Re: rsync error: Error in socket IO(code 10) at clientserver.c(122)

2008-10-13 Thread Matt McCutchen
Naveen, please CC rsync@lists.samba.org so that others can help you and your messages are archived for others' future benefit. On Mon, 2008-10-13 at 15:47 -0400, Naveen Sajjan wrote: > I just used the rsync -av hostname and I was able to connect. > hmm...Didn't seem to use SSH. I guess that mean

Re: CVS access to rsync repository

2008-10-13 Thread Matt McCutchen
On Mon, 2008-10-13 at 22:39 +0200, Chris Joelly wrote: > i see lots of error messages with "io.c(1123)" showing up, but i don't > know where to get the exact revision of this io.c file? > > Can anybody tell me where i can find the CVS repository for example > rsync 2.6.9 to get the exact revision

CVS access to rsync repository

2008-10-13 Thread Chris Joelly
Hello, i see lots of error messages with "io.c(1123)" showing up, but i don't know where to get the exact revision of this io.c file? Can anybody tell me where i can find the CVS repository for example rsync 2.6.9 to get the exact revision of the mentioned file for debugging purposes? thx, Chri

Re: IO error / connection unexpectedly closed

2008-10-13 Thread Chris Joelly
Hello again, now i also tried to sync from an 32bit linux machine to a 64bit linux machine and i got the same error message reported on the server side, so i think it isn't a problem due to different operating systems. the last log messages are: client: recv_generator(public/backups/cms1.it-fact

IO error / connection unexpectedly closed

2008-10-13 Thread Chris Joelly
Hello, i use rsync from Windows to rsync on Linux via ssh and get IO Errors and connection unexpectedly closed errors on almost every sync run. Can anybody give me some hints on how to track down the problem? thx, Chris 2008/10/11 09:41:04 [13744] rsync to backup// from UNKNOWN (w.x.y.z) 2008/10

direct IO, IO throttling

2008-10-13 Thread Aurimas Mikalauskas
Hi there, I've been googling around and yet could not find if there's a decent solution to avoid OS cache while copying files with rsync. It would be good if that worked both on client and on server side. If not some rsync patches (or features in upcoming releases), maybe you know of some library

Re: rsync error: Error in socket IO(code 10) at clientserver.c(122)

2008-10-13 Thread Matt McCutchen
On Mon, 2008-10-13 at 11:51 -0400, Naveen Sajjan wrote: > I am using cwrsync ver 2.1.5 over SSH to connect to > [EMAIL PROTECTED] and facing some problems and not sure how to go > about it. Below is the full text of the result when I run the batch > file. Was wondering if anyone has seen any simil

push, pull confusion.

2008-10-13 Thread Mark Busby
I've been using rsync to back-up user files on samba shares. The idea was to capture the file changes from day to day work, back all changes and new files to a server with limited access. If someone wanted to delete the files, there would be a back-up of their work. While checking logs the ot

rsync error: Error in socket IO(code 10) at clientserver.c(122)

2008-10-13 Thread Naveen Sajjan
Hi, I am using cwrsync ver 2.1.5 over SSH to connect to [EMAIL PROTECTED] and facing some problems and not sure how to go about it. Below is the full text of the result when I run the batch file. Was wondering if anyone has seen any similar issue. Any thoughts/help is much appreciated. ---

how to use --checksum-seed ?

2008-10-13 Thread CSights
Hi, I've been trying to use "--checksum-seed" to speed up backups . I have a homebrew script which creates incremental backups using hardlinks. To save disk space I turn on --checksum so that when file's mod-times change rsync doesn't create a new file (breaking the hardlinking) unles

rsync hangs during --remove-source-files

2008-10-13 Thread Thomas Gutzler
Hi, I'm using the following command to move files from a to b: rsync -a --remove-source-files --ignore-existing /path/to/dir1/ /path/to/dir2 >> logfile dir2 isn't empty so I only move files from dir1 to dir2 that don't exist already. Every so often rsync stops in the middle and doesn't continu

Re: Rsync 3.0.5pre1 released

2008-10-13 Thread BuraphaLinux Server
rsync -rltpcvxH --progress --delete /mnt/sdf1/dvd . lots of stuff works, but then dvd/setdir/www/web_admin-1.0-noarch-001.tgz 1306806 100%3.34MB/s0:00:00 (xfer#927, to-check=1004/2734) dvd/setdir/xlibs/ deleting dvd/setdir/xlibs/gstreamer-0.10.21-i586-001.tgz deleting