Re: compression of source and target files

2007-09-23 Thread devzero
oh, this is interesting patch - thanks for giving pointer. i have tried it and it and it looks interesting, but somewhat incomplete. i can transfer remote files to a local dir and they are being compressed on the local side, but (quite logical) this breaks size/content-checking. being also

Re: compression of source and target files

2007-09-23 Thread Matt McCutchen
On 9/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i can transfer remote files to a local dir and they are being compressed on the local side Good, so it basically works. +Use of --dest-filter automatically enables --whole-file. I suppose the patch could be changed to allow delta

Re: delta copies

2007-09-23 Thread Robert Fitzpatrick
On Sun, 2007-09-23 at 00:56 -0400, Matt McCutchen wrote: On 9/22/07, Robert Fitzpatrick [EMAIL PROTECTED] wrote: Either the delta transfer algorithm is not being used due to a misconfiguration, or the pgsql backups are changing in a perverse way that prevents it from matching any data. Please

Re: delta copies

2007-09-23 Thread Matt McCutchen
On 9/23/07, Robert Fitzpatrick [EMAIL PROTECTED] wrote: Doing some more testing this morning, maybe what you suggested about the pgsql backup is what is happening. I took a closer look and realize that my sql backup is actually smaller some days than the destination, will that affect delta

Re: delta copies

2007-09-23 Thread Matt McCutchen
On 9/23/07, Robert Fitzpatrick [EMAIL PROTECTED] wrote: On Sun, 2007-09-23 at 00:56 -0400, Matt McCutchen wrote: Either the delta transfer algorithm is not being used due to a misconfiguration, or the pgsql backups are changing in a perverse way that prevents it from matching any data.

Re: compression of source and target files

2007-09-23 Thread Wayne Davison
On Fri, Sep 21, 2007 at 01:10:18PM -0700, Kenneth Simpson wrote: Sorry, I neglected to mention the source is uncompressed but we need to compress the target file because we're running out of disk space and the files are highly compressible. The BackupPC program has the ability to store files

Re: compression of source and target files

2007-09-23 Thread Wayne Davison
On Sun, Sep 23, 2007 at 10:34:30AM -0400, Matt McCutchen wrote: On 9/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: i tried --checksum but it didn`t work as expected. In a future release (probably one past 3.0.0) I'm hoping to add a DB accessing protocol that will allow quite a few extended

A preliminary design for an external DB for rsync

2007-09-23 Thread Wayne Davison
I've put some thought into adding DB support to rsync (in a future release). This would allow it to maintain some extra information about files and be able to lookup information rapidly. This would support things like caching of checksum information, finding files to hard-link with, saving file

Re: delta copies

2007-09-23 Thread WebTent
On Sun, 2007-09-23 at 12:09 -0400, Matt McCutchen wrote: On 9/23/07, Robert Fitzpatrick [EMAIL PROTECTED] wrote: On Sun, 2007-09-23 at 00:56 -0400, Matt McCutchen wrote: Either the delta transfer algorithm is not being used due to a misconfiguration, or the pgsql backups are changing in a

DO NOT REPLY [Bug 4834] --inplace with --backup --backup-dir does not work

2007-09-23 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=4834 [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: delta copies

2007-09-23 Thread Matt McCutchen
On 9/23/07, WebTent [EMAIL PROTECTED] wrote: Well, I am getting matched data, but it just doesn't seem to be matching very much considering the small change in file size. I tested one dump after another rsyncing in between dumps and got very little matched data :( mx1# pg_dump -Fc -Upgsql

Re: delta copies

2007-09-23 Thread WebTent
On Sun, 2007-09-23 at 17:46 -0400, Matt McCutchen wrote: On 9/23/07, WebTent [EMAIL PROTECTED] wrote: Not necessarily. Depending on how pg_dump works, it could be that small changes to the database are resulting in unnecessarily large changes to the dump. Make sure you are using the

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 14:35:13 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv5055 Modified Files: rsync.h flist.c Log Message: Added the relnamecache structure and improved some variable names. Revisions: rsync.h 1.365 = 1.366

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 15:46:11 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv31670 Modified Files: flist.c Log Message: - Don't allow -x to drop implied directories. - Improved the code that tries to avoid scanning the same dir twice in a row to

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 16:02:33 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv6548 Modified Files: flist.c Log Message: Fix a glitch in the handling of the last path element in a -R path with a trailing slash. Revisions: flist.c 1.455 =

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 19:10:10 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv23869 Modified Files: options.c Log Message: Avoid a checker warning about unfreed memory. Revisions: options.c 1.409 = 1.410

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 19:45:00 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv4178 Modified Files: flist.c Log Message: Made clean_flist() only duplicate *_DIR_* flags on a dropped dir when the kept entry is also a dir. Revisions: flist.c

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 19:45:16 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv4672 Modified Files: proto.h Log Message: Regenerated. Revisions: proto.h 1.352 = 1.353 http://www.samba.org/cgi-bin/cvsweb/rsync/proto.h?r1=1.352r2=1.353

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 19:45:19 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv4700 Modified Files: backup.c Log Message: Made make_bak_dir() global. Revisions: backup.c1.69 = 1.70

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 19:45:23 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv4722 Modified Files: generator.c Log Message: Use make_bak_dir() if we get ENOENT while trying to open an inplace backup file. Revisions: generator.c 1.359 =

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 21:03:35 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv7265 Modified Files: proto.h Log Message: Regenerated. Revisions: proto.h 1.353 = 1.354 http://www.samba.org/cgi-bin/cvsweb/rsync/proto.h?r1=1.353r2=1.354

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 21:03:38 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv7284 Modified Files: backup.c Log Message: Changed make_bak_dir() to take a const char *. Revisions: backup.c1.70 = 1.71

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 21:03:42 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv7301 Modified Files: generator.c Log Message: The --inplace code now properly handles creating a backup when the --whole-file and/or --read-batch options are specified.

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 21:03:46 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv7326 Modified Files: util.c Log Message: Added an option to copy_file() that tells it to try to make a backup directory if the open of the dest file fails. Revisions:

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 21:05:15 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv7865 Modified Files: t_stub.c Log Message: Added a stub function for make_bak_dir(). Revisions: t_stub.c1.22 = 1.23

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 21:46:52 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv22325 Modified Files: flist.c Log Message: Fixed a glitch in the sending of mount-point dirs in inc_recurse mode. Revisions: flist.c 1.457 = 1.458

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 21:54:03 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv24350 Modified Files: main.c Log Message: Fixed a crash bug in get_local_name() when the file list is empty. Revisions: main.c 1.346 = 1.347

CVS update: rsync/patches

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 22:00:58 2007 Author: wayned Update of /data/cvs/rsync/patches In directory dp.samba.org:/tmp/cvs-serv26837 Modified Files: atimes.diff backup-dir-dels.diff checksum-updating.diff detect-renamed.diff time-limit.diff Log Message: Fixed failing hunks.

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 22:19:55 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv2761 Modified Files: acls.c backup.c flist.c generator.c hlink.c proto.h rsync.c rsync.h xattrs.c Log Message: Changed statx to stat_x to try to work around a build

CVS update: rsync/lib

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 22:22:23 2007 Author: wayned Update of /data/cvs/rsync/lib In directory dp.samba.org:/tmp/cvs-serv4301 Modified Files: getaddrinfo.c Log Message: Added include of ifuncs.h. Revisions: getaddrinfo.c 1.25 = 1.26

CVS update: rsync

2007-09-23 Thread Wayne Davison
Date: Sun Sep 23 22:31:14 2007 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv7358 Modified Files: rsync.h Log Message: Added (conditional) include of stdint.h. Revisions: rsync.h 1.367 = 1.368