Re: [BackupPC-users] Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(...)
On Sat, 19 Dec 2009, Holger Parplies wrote: > Hi, > > Jeffrey J. Kosowsky wrote on 2009-12-18 15:36:48 -0500 [Re: [BackupPC-users] > Unexpected call?BackupPC::Xfer::RsyncFileIO->unlink(...)]: > > Jeffrey J. Kosowsky wrote at about 13:11:37 -0500 on Monday, November 2, > > 2009: > > > Unexpected call > > BackupPC::Xfer::RsyncFileIO->unlink(cygwin/usr/share/man/man3/addnwstr.3x.gz) > > > > > > [...] > > > > > > Note from the below quoted thread from 2005, Craig claims that the error > > is > > > benign, but doesn't explain how/why. > > > > [...] > > > > I am curious about what could be causing this situation [...] > > if you're curious about what is causing a benign warning message, you're > probably on your own for the most part. I can supply you with one casual > observation and one tip: > > I think I saw that warning when I changed from tar to rsync XferMethod. As you > know, tar and rsync encode the file type "plain file" differently in attrib > files (rsync has a bit for it, tar (like stat()) doesn't and simply takes the > absense of a bit for a special file type to mean "plain file"). When rsync > compares remote and local file type (remote from remote rsync instance, local > from attrib file generated by tar XferMethod), it assumes a plain file changed > its type, so it removes the local copy [...] I get it whenever any file gets replaced by a symlink courtesy of some debian update (or vice versa - when a symlink gets replaced by a real file?). -- TimC Beware of bugs in the above program. I proved it correct, I did not try it. --- D. E. Knuth -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(...)
Hi, Jeffrey J. Kosowsky wrote on 2009-12-18 15:36:48 -0500 [Re: [BackupPC-users] Unexpected call?BackupPC::Xfer::RsyncFileIO->unlink(...)]: > Jeffrey J. Kosowsky wrote at about 13:11:37 -0500 on Monday, November 2, 2009: > > Unexpected call > BackupPC::Xfer::RsyncFileIO->unlink(cygwin/usr/share/man/man3/addnwstr.3x.gz) > > > > [...] > > > > Note from the below quoted thread from 2005, Craig claims that the error is > > benign, but doesn't explain how/why. > > [...] > > I am curious about what could be causing this situation [...] if you're curious about what is causing a benign warning message, you're probably on your own for the most part. I can supply you with one casual observation and one tip: I think I saw that warning when I changed from tar to rsync XferMethod. As you know, tar and rsync encode the file type "plain file" differently in attrib files (rsync has a bit for it, tar (like stat()) doesn't and simply takes the absense of a bit for a special file type to mean "plain file"). When rsync compares remote and local file type (remote from remote rsync instance, local from attrib file generated by tar XferMethod), it assumes a plain file changed its type, so it removes the local copy (if that sounds strange, remember that File::RsyncP mimics plain rsync, which *would* delete the local file; with BackupPC's storage backend, that doesn't make sense, hence the warning) and transfers the remote file without a local copy to compare to. Or something like that. If you want to know more, look at where the source code generates the warning message (well, that's stated *in* the warning message) and where that code is called from (presumably File::RsyncP) and in which circumstances. Good luck. Since you asked, don't forget to report back ;-). Regards, Holger -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(...)
Jeffrey J. Kosowsky wrote at about 13:11:37 -0500 on Monday, November 2, 2009: > Unexpected call > BackupPC::Xfer::RsyncFileIO->unlink(cygwin/usr/share/man/man3/addnwstr.3x.gz) > > I encountered the above error in my backup logs - repeated hundreds of > time though all interestingly only on different files in my > C:\cygwin\usr\share\man\man3 directory. > > > Now for context, this was part of a full backup after I reinstalled > Windows on a laptop. I had been testing BackupPC before so I had > interrupted BackupPC early in the backup several times before (and I > believe the cygwin directory is placed early in the backup based on > alphabetical order). > > Also, after interrupting a very partial backup, I noticed that > BackupPC_link was running. So perhaps, this is 'undoing' a > BackupPC_link operation that ran on a partial backup? > > In any case, I am curious to know what causes the error and what does > it mean? > Is it an error on my system (in which case maybe I should be looking > at my system) or is it an error in backuppc? > > > Note from the below quoted thread from 2005, Craig claims that the error is > benign, but doesn't explain how/why. Well I just upgraded and reinstalled Fedora on my Linux server and ran a new full backup. Again I noticed dozens of these type errors. All of them appear to be symbolic links but the links both in the new full and in the previous full appear to be intact. Also, this occurred on only about 40 out of many hundreds of symbolic links on my system. I am curious about what could be causing this situation that seems to be: 1. Limited to symlinks 2. Seems to only occur after a change to the system (presumably rsync is seeing the same link with a different inode) 3. Only occurs on some links. Any thoughts? > > > Thanks > > > > > Brendan Simon writes: Sun, 13 Nov 2005 09:13:01 -0800 > > > > > Could someone tell me what the following errors mean? > > > > > > Unexpected call > > > BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/images/CN-image.tar.gz) > > > [ skipped 21 lines ] > > > Unexpected call > > > BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/src/ethernetd/main.c) > > > [ skipped 45 lines ] > > > Unexpected call > > > BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/src/ethernetd/timer.c) > > > [ skipped 41134 lines ] > > > > The error itself is benign. But for some reason BackupPC thinks > > that the existing file (ie: the one backed up in the previous full > > backup) is not a regular file. The file will be re-transferred. > > > > What happens when you browse the previous full backup and look > > at the file type of those three files? > > > > Craig > > > > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ___ > BackupPC-users mailing list > BackupPC-users@lists.sourceforge.net > List:https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki:http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ > -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(...)
Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(cygwin/usr/share/man/man3/addnwstr.3x.gz) I encountered the above error in my backup logs - repeated hundreds of time though all interestingly only on different files in my C:\cygwin\usr\share\man\man3 directory. Now for context, this was part of a full backup after I reinstalled Windows on a laptop. I had been testing BackupPC before so I had interrupted BackupPC early in the backup several times before (and I believe the cygwin directory is placed early in the backup based on alphabetical order). Also, after interrupting a very partial backup, I noticed that BackupPC_link was running. So perhaps, this is 'undoing' a BackupPC_link operation that ran on a partial backup? In any case, I am curious to know what causes the error and what does it mean? Is it an error on my system (in which case maybe I should be looking at my system) or is it an error in backuppc? Note from the below quoted thread from 2005, Craig claims that the error is benign, but doesn't explain how/why. Thanks > Brendan Simon writes: Sun, 13 Nov 2005 09:13:01 -0800 > > > Could someone tell me what the following errors mean? > > > > Unexpected call > > BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/images/CN-image.tar.gz) > > [ skipped 21 lines ] > > Unexpected call > > BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/src/ethernetd/main.c) > > [ skipped 45 lines ] > > Unexpected call > > BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/src/ethernetd/timer.c) > > [ skipped 41134 lines ] > > The error itself is benign. But for some reason BackupPC thinks > that the existing file (ie: the one backed up in the previous full > backup) is not a regular file. The file will be re-transferred. > > What happens when you browse the previous full backup and look > at the file type of those three files? > > Craig > -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(...)
Brendan Simon writes: > Could someone tell me what the following errors mean? > > Unexpected call > BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/images/CN-image.tar.gz) > [ skipped 21 lines ] > Unexpected call > BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/src/ethernetd/main.c) > [ skipped 45 lines ] > Unexpected call > BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/src/ethernetd/timer.c) > [ skipped 41134 lines ] The error itself is benign. But for some reason BackupPC thinks that the existing file (ie: the one backed up in the previous full backup) is not a regular file. The file will be re-transferred. What happens when you browse the previous full backup and look at the file type of those three files? Craig --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/
[BackupPC-users] Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(...)
Hi, Could someone tell me what the following errors mean? Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/images/CN-image.tar.gz) [ skipped 21 lines ] Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/src/ethernetd/main.c) [ skipped 45 lines ] Unexpected call BackupPC::Xfer::RsyncFileIO->unlink(john/aegis/CN.1.5.1.4.C117/src/ethernetd/timer.c) [ skipped 41134 lines ] Thanks, Brendan. --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/