Re: Compressed destination files
Matt McCutchen wrote: > Currently, the only way to make rsync do this is with the experimental > patch "source-filter_dest-filter.diff", which is distributed in > "patches/" in the rsync source package. If you compile a custom > version of rsync containing this patch, you can specify bzip2 as the > source or destination filter. Read the top of the patch for more > information. The patch is only a first attempt, so you might not want > to trust it with your backups yet. > > Matt Just one more important note. If you are using rsync over the wire (as opposed to synching local folders), gzip with "rsyncable" is preferable to bzip, as it does not obliterate rsync's wire efficiency. Shachar -- 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: Compressed destination files
Thanks for the info. FYI I tried the patch and it appears to have worked. I'll keep the list updated if I find any errors... A couple ideas. Rather than only using the time stamps to determine if files need updating the file size could also be used by 1) putting the filesize into the new filename (ie test.1231098.doc) or 2) creating a separate file with a list of the file sizes for all the files. Also, it might be nice if rsync added the bz2 extension to the output filenames so it was obvious the files are compressed and make it slightly easier to decompress (ie without renaming). Not major concerns, it should work fine with just the time stamps, and having to rename isn't a big deal. Just ideas. Thanks to all who work on rsync. Josh I would like to do an incremental backup using rsync where all the files at the destination end are compressed (bz2). Currently, the only way to make rsync do this is with the experimental patch "source-filter_dest-filter.diff", which is distributed in "patches/" in the rsync source package. If you compile a custom version of rsync containing this patch, you can specify bzip2 as the source or destination filter. Read the top of the patch for more information. The patch is only a first attempt, so you might not want to trust it with your backups yet. Matt -- 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: Compressed destination files
On 11/29/06, Joshua Grauman <[EMAIL PROTECTED]> wrote: I would like to do an incremental backup using rsync where all the files at the destination end are compressed (bz2). Currently, the only way to make rsync do this is with the experimental patch "source-filter_dest-filter.diff", which is distributed in "patches/" in the rsync source package. If you compile a custom version of rsync containing this patch, you can specify bzip2 as the source or destination filter. Read the top of the patch for more information. The patch is only a first attempt, so you might not want to trust it with your backups yet. Matt -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Compressed destination files
Hello, I searched the list and found some similar questions, but no answer, so... I would like to do an incremental backup using rsync where all the files at the destination end are compressed (bz2). I'm backing up to a usb flash drive and would like to fit as much as possible on it. I would also like to avoid rsync'ing to another directory on my hard drive, and then bzip'ing that. Done this way only the modified files will need to be copied/bzipped, and if I want to restore a single file it is easy. Any ideas? Thanks. Josh -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html