Rsync backup script with snapshot

2010-07-22 Thread Alex Ferrara
Hi guys, Many thanks with your help on getting my backup script working with relative paths and LVM snapshots. I have it working pretty well now, and I thought I would let everyone see the finished product. I have published it on my wiki at

Re: Behavioral differences between versions.

2010-07-22 Thread Paul Slootman
On Wed 21 Jul 2010, Jeff Cleverley wrote: 1. When using the -z option, does rsync actually use /usr/bin/compress or does it use gzip? The man pages say it compresses data but doesn't specify what it compresses with. It uses the gzip algorithm but implements it internally; it doesn't call

Re: Behavioral differences between versions.

2010-07-22 Thread Jeff Cleverley
Paul, Thanks for the information. I'll see what I can find in the NEWS and OLDNEWS. Hopefully that will give me what I'm looking for on most of the questions. Am I correct in my assumption that Redhat does not tweak the rsync it ships with its distribution? Thanks, Jeff On Thu, Jul 22, 2010

Re: rsync algorithm

2010-07-22 Thread Henri Shustak
Check file size makes sense, but how rsync checks times? If a file is copied from one side to another remote side, the time will be different, right? Sorry wrong question, the copy file should be able to reserve the mtime. If the rsync --times option is used then rsync will attempt to

Problem backing up read-only files

2010-07-22 Thread Gary Johnson
I have a PC on which I run Windows XP and Cygwin 1.5. To this is attached an HP Media Vault mv2120 via Ethernet through a switch. I can copy files back and forth between the XP machine and the Media Vault, so that much seems to work fine. I would like to use rsync to back up some of the files on

Re: Problem backing up read-only files

2010-07-22 Thread Alex Ferrara
Hi Gary, It looks like the problem occurs after rsync has transferred the file and is renaming the temporary file to the actual name. I am guessing that the HP media vault has Samba running on it, and it is actually denying access. As a long show, you could try --inplace, which will mean rsync

Re: Behavioral differences between versions.

2010-07-22 Thread Matt McCutchen
On Thu, 2010-07-22 at 12:42 -0600, Jeff Cleverley wrote: Am I correct in my assumption that Redhat does not tweak the rsync it ships with its distribution? The way to find out is to ask Red Hat or look in their SRPMs. Choose either client or server (they seem to be the same in this case--are

Re: Problem backing up read-only files

2010-07-22 Thread Gary Johnson
On 2010-07-23, Alex Ferrara wrote: Hi Gary, It looks like the problem occurs after rsync has transferred the file and is renaming the temporary file to the actual name. I am guessing that the HP media vault has Samba running on it, and it is actually denying access. As a long show, you

Re: Problem backing up read-only files

2010-07-22 Thread Matt McCutchen
On Thu, 2010-07-22 at 19:57 -0700, Gary Johnson wrote: On 2010-07-23, Alex Ferrara wrote: Hi Gary, It looks like the problem occurs after rsync has transferred the file and is renaming the temporary file to the actual name. I am guessing that the HP media vault has Samba running on it,

Re: Behavioral differences between versions.

2010-07-22 Thread Jeff Cleverley
Matt, Thanks for the information. I've found Red Hat often slow and difficult to get an answer from. I'll check the differences between the rhel4 and rhel5 versions in the SRPMs. I'll also check the bug tracking. I have found one issue I thought was probably just a change in behavior that was

Re: Behavioral differences between versions.

2010-07-22 Thread Matt McCutchen
On Thu, 2010-07-22 at 21:50 -0600, Jeff Cleverley wrote: I've found Red Hat often slow and difficult to get an answer from. That's not our problem. -- Matt -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: