Re: problems with telling rsync what to delete
On Tue, 2005-05-31 at 10:54 -0700, Wayne Davison wrote: The exclude file list has filenames that are relative to the source directory supplied to rsync, so that would be correct. If the files are still be deleted, then you've got some kind of an error in the contents of your --exclude-from file. You can either experiment with changes to fix it or ask a more specific question that includes both the --exclude-from line that you think should be working and the full path of a file that you think should not be deleted. I just fixed my problem. The full command I run is: /usr/bin/rsync --rsh=ssh -p -o --delete-after --recursive --links --times --compress --verbose --stats --backup --backup-dir=/home/erik/Wednesday --timeout=36000 --exclude-from=/home/erik/backup/temp/unchangedlist /home/erik/backup/temp/store [EMAIL PROTECTED]:/home/erik/current So basically I want to backup /home/erik/backup/temp/store, and in this directory I've created the structure I want to backup, so a possible file to backup is /home/erik/backup/temp/store/home/erik/ The file /home/erik/backup/temp/unchangedlist is: /home/erik/btest/backup /home/erik/btest/difflist Rsync sees 'store' as the directory to backup, therefore I either had to put a trailing / on that to let it use the contents of store or prepend all the filenames in unchangedlist with /store. Everything now works as expected, thanks for the suggestion. greets, Erik -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
RSync with File Compression
Hello, Rsync is great, thanks to all who work on it. Does anyone have any good strategies for keeping the backups on the remote side compressed on disk? I'm under the impression that gzipping the files would not work as they would not be available to rsync in the uncompressed state for subsequent backups. A compressed filesystem would be prefect, but the only references I could find was for a non-production quality kernel mod for ext2 (I'm running ext3). Has anyone else tackled this issue? Thanks, Drew -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
re: RSync with File Compression
Drew- There is a build of GZip (under Debian I think) that has an rsync friendly option. I have posted a patch for zlib to this newsgroup with code that makes zlib rsync friendly (along with some extra optimizations over the GZip implementation). Take a look in the list archives and you'll find the patch. Cheers! - K Original Message Hello,Rsync is great, thanks to all who work on it. Does anyone have any goodstrategies for keeping the backups on the remote side compressed on disk?I'm under the impression that gzipping the files would not work as theywould not be available to rsync in the uncompressed state for subsequentbackups. A compressed filesystem would be prefect, but the onlyreferences I could find was for a non-production quality kernel mod forext2 (I'm running ext3). Has anyone else tackled this issue?Thanks,Drew-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsyncBefore posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Confusion regarding rsync vs. rsyncx
rsyncX is mac-to-mac only. Check out this page: http://www.quesera.com/reynhout/misc/rsync+hfsmode/ which should do pretty much what you want. On Wed, May 25, 2005 at 08:23:38PM -0400, Andrew Gideon wrote: We currently do backup using rsync amongst Linux and Solaris machines. Modulo an ACL issue that we had to patch, this is working extremely well. But I want to add our OSX machines to the mix. This is, unfortunately, leaving me confused about rsyncx. I can do the normal thing from OSX using rsync. But the page for rsyncx says - cryptically, in my ignorant opinion - that rsyncx adds support for HFS+. Is this important? More, does it make a difference if the target of the backup is not OSX but Linux (and is therefore not running either rsyncx or HFS+)? If I'm backing up an OSX machine running rsync to a Linux machine, am I missing something that will prevent successful/complete restores? Is this solved by backing up from OSX running rsyncx to a Linux machine running rsync? Or can this only be solved by using OSX as the backup target (which isn't terribly likely in my current environment)? Thanks for any insight into this... Andrew -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html danno -- dan pritts - systems administrator - internet2 734/352-4953 office734/834-7224 mobile -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: RSync with File Compression
On Wed, Jun 01, 2005 at 01:20:45PM -0700, Kevin Day wrote: There is a build of GZip (under Debian I think) that has an rsync friendly option. This is useful if the files are compressed at the source. If you want only the destination side to be compressed, you'll need something beyond a stock rsync. One option that I'm aware of is the BackupPC program which is referenced on the resources page of rsync's website. I have posted a patch for zlib to this newsgroup with code that makes zlib rsync friendly (along with some extra optimizations over the GZip implementation). The patch is in the patches dir of the rsync distribution under the name gzip-rsyncable-checksum.diff. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Rsync 2.6.5 released
I have released rsync version 2.6.5. This is primarily a bug-fix release to squash some annoying problems that made it into the (feature-filled) release of 2.6.4, plus a few minor enhancements. Here is a list of the changes between 2.6.4 and 2.6.5: http://rsync.samba.org/ftp/rsync/NEWS The latest man pages are online in their usual spots: http://rsync.samba.org/ftp/rsync/rsync.html http://rsync.samba.org/ftp/rsync/rsyncd.conf.html And the tar file of the source and its signature are here: http://rsync.samba.org/ftp/rsync/rsync-2.6.5.tar.gz http://rsync.samba.org/ftp/rsync/rsync-2.6.5.tar.gz.asc See the web site for other download possibilities (including unified diffs). Enjoy! ..wayne.. signature.asc Description: Digital signature -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
CVS update: rsync/patches
Date: Wed Jun 1 16:22:41 2005 Author: wayned Update of /data/cvs/rsync/patches In directory dp.samba.org:/tmp/cvs-serv28860 Modified Files: ODBC-dblog.diff acls.diff append.diff backup-dir-dels.diff chmod-option.diff copy-atimes.diff date-only.diff fname-convert.diff link-by-hash.diff links-depth.diff min-size.diff openssl-support.diff rsyncd-perm.diff source-cd.diff time-limit.diff xattrs.diff Log Message: Updated to apply cleanly. Revisions: ODBC-dblog.diff 1.38 = 1.39 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/ODBC-dblog.diff?r1=1.38r2=1.39 acls.diff 1.54 = 1.55 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/acls.diff?r1=1.54r2=1.55 append.diff 1.23 = 1.24 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/append.diff?r1=1.23r2=1.24 backup-dir-dels.diff1.42 = 1.43 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/backup-dir-dels.diff?r1=1.42r2=1.43 chmod-option.diff 1.47 = 1.48 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/chmod-option.diff?r1=1.47r2=1.48 copy-atimes.diff1.51 = 1.52 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/copy-atimes.diff?r1=1.51r2=1.52 date-only.diff 1.38 = 1.39 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/date-only.diff?r1=1.38r2=1.39 fname-convert.diff 1.52 = 1.53 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/fname-convert.diff?r1=1.52r2=1.53 link-by-hash.diff 1.59 = 1.60 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/link-by-hash.diff?r1=1.59r2=1.60 links-depth.diff1.27 = 1.28 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/links-depth.diff?r1=1.27r2=1.28 min-size.diff 1.5 = 1.6 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/min-size.diff?r1=1.5r2=1.6 openssl-support.diff1.48 = 1.49 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/openssl-support.diff?r1=1.48r2=1.49 rsyncd-perm.diff1.3 = 1.4 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/rsyncd-perm.diff?r1=1.3r2=1.4 source-cd.diff 1.16 = 1.17 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/source-cd.diff?r1=1.16r2=1.17 time-limit.diff 1.50 = 1.51 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/time-limit.diff?r1=1.50r2=1.51 xattrs.diff 1.3 = 1.4 http://www.samba.org/cgi-bin/cvsweb/rsync/patches/xattrs.diff?r1=1.3r2=1.4 ___ rsync-cvs mailing list rsync-cvs@lists.samba.org https://lists.samba.org/mailman/listinfo/rsync-cvs
CVS update: rsync
Date: Thu Jun 2 03:54:00 2005 Author: wayned Update of /data/cvs/rsync In directory dp.samba.org:/tmp/cvs-serv29760 Modified Files: NEWS Log Message: Improved a few of the items. Revisions: NEWS1.302 = 1.303 http://www.samba.org/cgi-bin/cvsweb/rsync/NEWS?r1=1.302r2=1.303 ___ rsync-cvs mailing list rsync-cvs@lists.samba.org https://lists.samba.org/mailman/listinfo/rsync-cvs
CVS update: rsyncweb
Date: Thu Jun 2 04:26:09 2005 Author: wayned Update of /data/cvs/rsyncweb In directory dp.samba.org:/tmp/cvs-serv3953 Modified Files: index.html Log Message: Updated to include information on 2.6.5 and also to remove the details of the ancient security releases. Revisions: index.html 1.50 = 1.51 http://www.samba.org/cgi-bin/cvsweb/rsyncweb/index.html?r1=1.50r2=1.51 ___ rsync-cvs mailing list rsync-cvs@lists.samba.org https://lists.samba.org/mailman/listinfo/rsync-cvs