[BackupPC-users] Can't create test hardlink error
-- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk ___ 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] Can't create test hardlink error
I just rebooted to a new kernel and now I'm getting this error: Can't create a test hardlink between a file in /var/lib/BackupPC//pc and /var/lib/BackupPC//cpool. Either these are different file systems, or this file system doesn't support hardlinks, or these directories don't exist, or there is a permissions problem, or the file system is out of inodes or full. Use df, df -i, and ls -ld to check each of these possibilities. Quitting... I don't think it has anything to do with the new kernel. It's just that rebooting made me notice the problem. I'm thinking it's a permissions problem since there is on 6% space used and 1% of the inodes. Here's some relevant info: # cd /var/lib # ls -l | grep BackupPC lrwxrwxrwx. 1 backuppc backuppc 44 Apr 29 20:32 BackupPC - /media/5d194bff-a222-49a8-bd90-4898fff9bdd8/ # cd BackupPC ls -l total 180 drwxr-x---. 18 backuppc backuppc 4096 Jun 11 01:00 cpool -rw-r--r--. 1 root root 145 Mar 19 22:00 extlinux.conf -r--r--r--. 1 root root 32768 Mar 19 22:00 ldlinux.sys drwx--. 2 root root 16384 Jul 16 2008 lost+found -rw-r--r--. 1 root root 60928 Mar 19 22:00 menu.c32 drwxr-x---. 6 backuppc backuppc 4096 Jun 1 13:02 pc drwxr-x---. 2 backuppc backuppc 4096 Jul 26 2008 pool -rw-r--r--. 1 root root 145 Mar 19 22:00 syslinux.cfg drwxr-x---. 2 backuppc backuppc 4096 Jun 11 01:12 trash -rw-r--r--. 1 root root 0 Mar 19 22:00 ubnfilel.txt -rw-r--r--. 1 root root 0 Mar 19 22:00 ubnpathl.txt All the contents of cpool and pc all have the same permissions: drwxr-x---. 18 backuppc backuppc Any ideas? Thanks, Steve -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Email configuration
On Sat, 1 Jun 2013 16:32:15 -0500 Michael Stowe mst...@chicago.us.mensa.org wrote: It also seems to imply that the username you're using is backuppc rather than zephod. This will be set under hosts. Errr, you can safely ignore that, I was thinking of something else entirely, but it does appear your configuration isn't being read or used. I recommend trying out the -t switch to see if anything would be sent, And the -u switch to confirm your email is set up properly. If those work, then it's simply your config. Hmmm... I assumed that the -u switch meant run the command as user whoever... but I was wrong. It seems that it means send the e-mail to whoever. So... # sudo -u backuppc /usr/share/BackupPC/bin/BackupPC_sendEmail -u zep...@cfl.rr.com results in this in /var/log/maillog: Jun 1 18:18:18 localhost postfix/pickup[9126]: 907191840E9: uid=496 from=backuppc Jun 1 18:18:18 localhost postfix/cleanup[9278]: 907191840E9: message-id=20130601221818.907191840E9@stevesDesktop.localdomain Jun 1 18:18:18 localhost postfix/qmgr[4236]: 907191840E9: from=backuppc@stevesDesktop.localdomain, size=497, nrcpt=1 (queue active) Jun 1 18:18:18 localhost postfix/smtp[9269]: 907191840E9: host cdptpa-smtpin01.mail.rr.com[75.180.132.243] refused to talk to me: 554 5.7.1 - ERROR: Mail refused - 184.90.56.138 - See http://www.spamhaus.org/query/bl?ip=184.90.56.138 Jun 1 18:18:19 localhost postfix/smtp[9269]: 907191840E9: to=zep...@cfl.rr.com, relay=cdptpa-smtpin02.mail.rr.com[75.180.132.244]:25, delay=0.94, delays=0.61/0/0.33/0, dsn=4.7.1, status=deferred (host cdptpa-smtpin02.mail.rr.com[75.180.132.244] refused to talk to me: 554 5.7.1 - ERROR: Mail refused - 184.90.56.138 - See http://www.spamhaus.org/query/bl?ip=184.90.56.138) which makes more sense. Now I need to find out how to get the server to listen. OK, it appears from the URL given that my IP address is blocked because it is on some Policy Block List. But my IP address comes from my ISP via DHCP. Are they blocking their own IP address? It looks like I can remove it from the list but I'd like to understand this a little better first. Steve -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 ___ 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] Full backup locks up computer.
On Thu, 16 Feb 2012 10:12:23 -0500 Steve Blackwell zep...@cfl.rr.com wrote: 8 snip The problem I'm having is that whenever I try to do a full backup, the computer locks up. There are no messages in any of the logs to indicate what might have caused the problem. Interestingly, incremental backups work OK. 8 snip Huh! After month of having this problem, last night it did a full backup, unattended with no errors. Weird. Steve -- Changing lives one card at a time http://www.send1cardnow.com signature.asc Description: PGP signature -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ 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] Full backup locks up computer.
I have a fairly old computer, a ~6yr old dual 3.4GHz Pentium 4 that is running Fedora 12. It's (past) time for an upgrade. I'm want to do a clean install as the requirements for boot partition size have increased and so I need a good complete backup before I start. The problem I'm having is that whenever I try to do a full backup, the computer locks up. There are no messages in any of the logs to indicate what might have caused the problem. Interestingly, incremental backups work OK. Here's some output from the BackupPc log. 2012-02-16 01:00:00 Next wakeup is 2012-02-16 02:00:00 2012-02-16 01:00:10 Started full backup on steve (pid=5106, share=/) 2012-02-16 01:18:15 Finished admin1 (BackupPC_nightly 128 255) 2012-02-16 01:18:19 BackupPC_nightly now running BackupPC_sendEmail 2012-02-16 01:18:42 Finished admin (BackupPC_nightly -m 0 127) 2012-02-16 01:18:42 Pool nightly clean removed 0 files of size 0.00GB 2012-02-16 01:18:42 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 0 max links), 1 directories 2012-02-16 01:18:42 Cpool nightly clean removed 0 files of size 0.00GB 2012-02-16 01:18:42 Cpool is 181.90GB, 799760 files (63 repeated, 27 max chain, 2403 max links), 4369 directories 2012-02-16 09:06:56 Reading hosts file 2012-02-16 09:06:56 BackupPC started, pid 4161 2012-02-16 09:06:57 Running BackupPC_trashClean (pid=4163) 2012-02-16 09:06:57 Next wakeup is 2012-02-16 10:00:00 2012-02-16 09:13:08 User steve requested backup of steve (steve) 2012-02-16 09:13:10 Started incr backup on steve (pid=4235, share=/) 2012-02-16 09:39:13 Finished incr backup on steve 2012-02-16 09:39:13 Running BackupPC_link steve (pid=4373) 2012-02-16 09:39:25 Finished steve (BackupPC_link steve) 2012-02-16 10:00:01 Next wakeup is 2012-02-16 11:00:00 You can see that the full backup was initiated at 1am. At 9am the computer was completely locked - screen on, ie screensaver had not kicked in, no mouse or keyboard response so I rebooted and forced an incremental. I thought it may be a problem with the HD but I forced an e2fsck on boot and no change. Ideas? Thanks, Steve PS. I'm using tar as the backup method and full backups used to work. -- Changing lives one card at a time http://www.send1cardnow.com signature.asc Description: PGP signature -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ 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] Syntax for excluding .gvfs
On Wed, 12 May 2010 12:36:47 -0400 Steve Blackwell zep...@cfl.rr.com wrote: On Wed, 12 May 2010 10:48:03 -0500 Les Mikesell lesmikes...@gmail.com wrote: A quick fix might be to add the --one-file-system option to the tar command so it will ignore all mount points. I always do that anyway to avoid picking up ad-hoc DVD/USB or network mounts that might happen to be active, but then you have to be sure you explicitly add every filesystem that you do want to back up. I have a dual boot system and I keep all my music on the Windows side so that I can access it from either. So I want to back up the Windows stuff too. As I understand it the .gvfs directory has to do with fuse filesystems, ie Windows in my case. The Windows drive is mounted on /mnt. If I use the --one-file-system option and add /mnt/c_drive to my TarShareName, am I not going to have the same problem? I guess I'll try it and see. No luck. Ignoring the fact I didn't get all the shares/excludes right, I still get the .gvfs error. Running: /usr/bin/sudo /bin/tar -c -v -f - -C / --totals --one-file-system --newer=2010-05-06 00:00:09 --exclude=./proc --exclude=./sys --exclude=./tmp --exclude=./media --exclude=./selinux --exclude=./misc --exclude=./home/*/.gvfs . incr backup started back to 2010-05-06 00:00:09 (backup #284) for directory / Xfer PIDs are now 29228,29227 /bin/tar: ./boot/: file is on a different filesystem; not dumped [ skipped 6882 lines ] /bin/tar: ./dev/: file is on a different filesystem; not dumped [ skipped 134 lines ] /bin/tar: ./home/steve/.gvfs: Cannot stat: Permission denied [ skipped 4481 lines ] /bin/tar: ./mnt/c_drive/: file is on a different filesystem; not dumped [ skipped 27693 lines ] /bin/tar: ./net/: file is on a different filesystem; not dumped [ skipped 304 lines ] /bin/tar: Exiting with failure status due to previous errors Tar exited with error 512 () status [ skipped 32 lines ] tarExtract: Done: 0 errors, 3843 filesExist, 18817093 sizeExist, 3858427 sizeExistComp, 10576 filesTotal, 7797716344 sizeTotal Got fatal error during xfer (Tar exited with error 512 () status) Backup aborted (Tar exited with error 512 () status) -- ___ 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] Syntax for excluding .gvfs
On Thu, 6 May 2010 17:38:46 -0400 Steve Blackwell zep...@cfl.rr.com wrote: I'm running F11 and I keep getting an error on my backups. I've tracked this down to a file, .gvfs, in users home directories. From the log file: /bin/tar: ./.gvfs: Cannot stat: Permission denied I use the web interface to edit the configuration but I cannot find the correct syntax to exclude these files. The TarShareName is / and I've tried the following for BackupFilesExclude .gvfs *.gvfs /home/*/.gvfs none of which work. How have others overcome this? And, yes, I do have the Override box checked. Thanks, Steve I still don't have a solution for this and because of it all my backups fail. Now I think my HD may be on its way out becaus of errors I'm seeing in logwatch: /dev/sdb : Prefailure: Seek_Error_Rate (7) changed to 200, 100, 200, 100, I did learn that you can't use an unquoted * in the exclude list. Really need help and for those who did not read the original thread I'm using BackupPC-3.1.0-9.fc11.noarch and my computer.pl file looks like this: $Conf{TarClientCmd} = '/usr/bin/sudo $tarPath -c -v -f - -C $shareName --totals'; $Conf{TarFullArgs} = '$fileList'; $Conf{TarClientRestoreCmd} = '/usr/bin/sudo $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName'; $Conf{TarClientPath} = '/bin/tar'; $Conf{BackupFilesExclude} = { '/' = [ '/proc', '/sys', '/tmp', '/media', '/selinux', '/misc', '/home/*/.gvfs' ] }; $Conf{TarIncrArgs} = '--newer=$incrDate $fileList'; $Conf{TarShareName} = [ '/' ]; $Conf{BlackoutPeriods} = [ { 'hourEnd' = '23.5', 'weekDays' = [ '0', '1', '2', '3', '4', '5', '6' ], 'hourBegin' = '8.5' } ]; Thanks, Steve -- ___ 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] Syntax for excluding .gvfs
On Wed, 12 May 2010 09:29:32 -0400 Bowie Bailey bowie_bai...@buc.com wrote: What version of tar do you have? From the manual: Note that GNU tar version = 1.13.7 is required for the exclude option to work correctly. [st...@steve ~]$ tar --version tar (GNU tar) 1.22 ... -- ___ 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] exclude not working
On Wed, 12 May 2010 10:01:15 -0400 Mark Maciolek m...@sr.unh.edu wrote: Hi, Backuppc 3.1 using rsync $Conf{RsyncShareName} = [ '/raid1' $Conf{BackupFilesExclude} = { '*' = [ '/raid1/*/tilecache', '/raid1/temp', '/raid1/osmplanet' ] NewFileList still shows 2a85606be4fcc25d294720dfb67d183b 3657 f%2fraid1/fcaribbean/ftilecache/fNOAA_ENCT/f14/f000/f005/f746/f000/f009/f048.png 2a85606be4fcc25d294720dfb67d183b 3657 f%2fraid1/fcaribbean/ftilecache/fNOAA_ENCT Do I need to specify /raid1/caribbean/tilecache ? Mark Hi Mark, I, too, have been having problems with exclude. See the (long) thread titled Syntax for excluding .gvfs. What I discovered is that if you use the wildcard, *, it must be quoted otherwise all the excludes are ignored so 'raid1/*/tilecache' should be 'raid1/*/tilecache'. Also, though I'm not 100% sure about this, $Conf{BackupFilesExclude} = { '*' = [ ... should be $Conf{BackupFilesExclude} = { '/raid1' = [ ... HTH Steve -- ___ 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] Syntax for excluding .gvfs
On Wed, 12 May 2010 10:48:03 -0500 Les Mikesell lesmikes...@gmail.com wrote: A quick fix might be to add the --one-file-system option to the tar command so it will ignore all mount points. I always do that anyway to avoid picking up ad-hoc DVD/USB or network mounts that might happen to be active, but then you have to be sure you explicitly add every filesystem that you do want to back up. I have a dual boot system and I keep all my music on the Windows side so that I can access it from either. So I want to back up the Windows stuff too. As I understand it the .gvfs directory has to do with fuse filesystems, ie Windows in my case. The Windows drive is mounted on /mnt. If I use the --one-file-system option and add /mnt/c_drive to my TarShareName, am I not going to have the same problem? I guess I'll try it and see. Thanks, Steve -- ___ 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] Syntax for excluding .gvfs
On Sat, 8 May 2010 23:26:40 +0100 Luis Paulo luis.bar...@gmail.com wrote: On Sat, May 8, 2010 at 7:49 PM, Steve Blackwell zep...@cfl.rr.com wrote: On Sat, 8 May 2010 17:35:47 +0100 [..] Contents of file /media/disk/pc/steve/XferLOG.bad.z, modified 2010-05-08 14:41:36 Running: /usr/bin/sudo /bin/tar -c -v -f - -C /home/steve --totals --newer=2010-05-06 00:00:09 . incr backup started back to 2010-05-06 00:00:09 (backup #284) for directory /home/steve Xfer PIDs are now 30316,30315 /bin/tar: ./.gvfs: Cannot stat: Permission denied ... rest of the transfer log. [...] Well, something is not right I won't disagree with you there! You should have an --exclude=./.gvfs on your Running: line as in (for /proc) Running: /usr/bin/env LC_ALL=C sudo /bin/tar -c -v -f - -C / --totals --newer=2010-05-07 04:00:03 --exclude=./proc/* ... As I understand it, the variable $fileList is created based on the includes and excludes or more specifically based on BackupFilesOnly or BackupFilesExclude. TarFullArgs is set to $fileList and TarIncrArgs is set to --newer=$incrDate $fileList and so you won't see a --exclude switch in the log. Someone, please correct me if I'm wrong. Steve -- ___ 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] Syntax for excluding .gvfs
On Mon, 10 May 2010 03:51:20 +0100 Luis Paulo luis.bar...@gmail.com wrote: On Mon, May 10, 2010 at 3:17 AM, Steve Blackwell zep...@cfl.rr.com wrote: On Sat, 8 May 2010 23:26:40 +0100 Luis Paulo luis.bar...@gmail.com wrote: On Sat, May 8, 2010 at 7:49 PM, Steve Blackwell zep...@cfl.rr.com wrote: On Sat, 8 May 2010 17:35:47 +0100 [..] Contents of file /media/disk/pc/steve/XferLOG.bad.z, modified 2010-05-08 14:41:36 Running: /usr/bin/sudo /bin/tar -c -v -f - -C /home/steve --totals --newer=2010-05-06 00:00:09 . incr backup started back to 2010-05-06 00:00:09 (backup #284) for directory /home/steve Xfer PIDs are now 30316,30315 /bin/tar: ./.gvfs: Cannot stat: Permission denied ... rest of the transfer log. [...] Well, something is not right I won't disagree with you there! You should have an --exclude=./.gvfs on your Running: line as in (for /proc) Running: /usr/bin/env LC_ALL=C sudo /bin/tar -c -v -f - -C / --totals --newer=2010-05-07 04:00:03 --exclude=./proc/* ... As I understand it, the variable $fileList is created based on the includes and excludes or more specifically based on BackupFilesOnly or BackupFilesExclude. TarFullArgs is set to $fileList and TarIncrArgs is set to --newer=$incrDate $fileList and so you won't see a --exclude switch in the log. Someone, please correct me if I'm wrong. Steve You should see an --exclude on the log. I see on mine. I assume you are trying to exclude .gvfs in the BackupFilesExclude on the GUI. You have a Delete button, then one or more Insert and Delete buttons, and you type .gvfs after that. Right? And what you have on the left of the first delete button? Please post your computer.pl config file (replace computer with your client name). It's easier to check If I see something strange I'll be happy to guide you through the GUI. A note: You may have BackupFilesOnly OR BackupFilesExclude, not both. Regards Luis OK, here is my steve.pl file $Conf{TarClientCmd} = '/usr/bin/sudo $tarPath -c -v -f - -C $shareName --totals'; $Conf{TarFullArgs} = '$fileList'; $Conf{TarClientRestoreCmd} = '/usr/bin/sudo $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName'; $Conf{TarClientPath} = '/bin/tar'; $Conf{BackupFilesExclude} = { '/' = [ '/proc', '/sys', '/tmp', '/media', '/selinux', '/misc', '/home/*/.gvfs' ] }; $Conf{TarIncrArgs} = '--newer=$incrDate $fileList'; $Conf{TarShareName} = [ '/' ]; $Conf{BlackoutPeriods} = [ { 'hourEnd' = '23.5', 'weekDays' = [ '0', '1', '2', '3', '4', '5', '6' ], 'hourBegin' = '8.5' } ]; Thanks, Steve -- ___ 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] Syntax for excluding .gvfs
On Sat, 8 May 2010 17:35:47 +0100 Luis Paulo luis.bar...@gmail.com wrote: On Fri, May 7, 2010 at 7:19 PM, Luis Paulo luis.bar...@gmail.com wrote: The OP said that he is using tar and $Conf{RsyncArgs} directive... I made a bit of a mess Steve is using tar, TarShareName is / and is using BackupFilesExclude on the GUI. Or trying to :) Not using $Conf{RsyncArgs} directive, as I said. That was Allen Sorry, Steve As Allen point out for rsync, you may look at your XferLOG to see the tar command produced and check the syntax against the tar command syntax see http://www.gnu.org/software/tar/manual/tar.html#SEC108 Sorry again about the mess Luis No problem, Luis. But I still don't have a solution. To summarize: [st...@steve ~]$ rpm -qa | grep BackupPC BackupPC-3.1.0-9.fc11.noarch Using tar as the backup mechanism, I'm looking for a way to exclude the .gvfs directory in a users home directory from the backup as it produces an error. From the backup log: Contents of file /media/disk/pc/steve/XferLOG.bad.z, modified 2010-05-08 14:41:36 Running: /usr/bin/sudo /bin/tar -c -v -f - -C /home/steve --totals --newer=2010-05-06 00:00:09 . incr backup started back to 2010-05-06 00:00:09 (backup #284) for directory /home/steve Xfer PIDs are now 30316,30315 /bin/tar: ./.gvfs: Cannot stat: Permission denied ... rest of the transfer log. I've tried everything I can think of for BackupFilesExclude including .gvfs *.gvfs /home/*/.gvfs */.gvfs I normally use / as the TarShareName but to cut down on the experiment times I've been using /home/steve. So far nothing has worked. I always get the same error. Is this a bug? If so, is there a workaround? Thanks, Steve -- ___ 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] Syntax for excluding .gvfs
On Fri, 7 May 2010 15:56:00 +0100 Luis Paulo luis.bar...@gmail.com wrote: On Fri, May 7, 2010 at 3:04 PM, Allen allen.st...@rogers.com wrote: Hi Richard et al; Perhaps I should have been more specific... This is included in my global configuration under RsyncArgs for rsync. --exclude */.gvfs I never use BackupFilesExcludes for rsync. Allen... Hi, Allen To get the right syntax right is not easy, in my experience http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_backupfilesexclude_ - don't really help much when it doesn't work :) I think the way you write it depends on the method you are using Now you said rsync, but in your first post it looks like tar. Please clarify. I'm trying to use tar and as I said I'm trying to use the GUI inerface. */.gvfs didn't work either Steve -- ___ 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] Syntax for excluding .gvfs
On Fri, 07 May 2010 12:17:14 -0500 Les Mikesell lesmikes...@gmail.com wrote: On 5/7/2010 10:33 AM, Steve Blackwell wrote: On Fri, 7 May 2010 15:56:00 +0100 Luis Pauloluis.bar...@gmail.com wrote: On Fri, May 7, 2010 at 3:04 PM, Allenallen.st...@rogers.com wrote: Hi Richard et al; Perhaps I should have been more specific... This is included in my global configuration under RsyncArgs for rsync. --exclude */.gvfs I never use BackupFilesExcludes for rsync. Allen... Hi, Allen To get the right syntax right is not easy, in my experience http://backuppc.sourceforge.net/faq/BackupPC.html#item__conf_backupfilesexclude_ - don't really help much when it doesn't work :) I think the way you write it depends on the method you are using Now you said rsync, but in your first post it looks like tar. Please clarify. I'm trying to use tar and as I said I'm trying to use the GUI inerface. */.gvfs didn't work either Did you mention the version you are using? There is this bug report for 3.0.x in debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437451 I'm using BackupPC-3.1.0-9.fc11.noarch. The Debian bug looks similar but in my case even if I put in the full path name of the directory, /home/steve/.gvfs, I still get the same error. [st...@steve ~]$ ls -ld .gvfs dr-x--. 2 steve steve 0 2010-05-07 09:24 .gvfs Steve -- ___ 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] Syntax for excluding .gvfs
I'm running F11 and I keep getting an error on my backups. I've tracked this down to a file, .gvfs, in users home directories. From the log file: /bin/tar: ./.gvfs: Cannot stat: Permission denied I use the web interface to edit the configuration but I cannot find the correct syntax to exclude these files. The TarShareName is / and I've tried the following for BackupFilesExclude .gvfs *.gvfs /home/*/.gvfs none of which work. How have others overcome this? And, yes, I do have the Override box checked. Thanks, Steve -- ___ 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] SELinux preventing server connection.
On Tue, 27 Apr 2010 21:08:23 +0200 Johan Cwiklinski maili...@x-tnd.be wrote: Hello, Le 27/04/2010 20:30, Steve Blackwell a écrit : BZ=bugzilla? Yes :) That is a better place to report package specific issues, all of that SELinus stuff is not really BackupPC relevant. I had alway run SELinux in permissive mode because of the problems I was having. After talking with the SELinux folks and reinstalling the targeted policy, I am now running in enforcing mode but I'm experiencing these issues. By the way, I'm using backuppc with SELinux enabled under F-12 with exactly the same SELinux rules and files location ; and I do not have any problems so far. Basically, just run restorecon -R -v /var/log/BackupPC should does the trick ; files under that directory should be labelled system_u:object_r:httpd_sys_content_t:s0 (the contexts I have on my F-12 box) and of course have to be owned by backuppc user. The files in my /var/log/BackupPC were labelled incorrectly and restorecon wasn't changing anything. I don't know why that was but I have fixed that now. Even after that, I was still getting write and connectto denials on /var/log/BackupPC.sock. With the SELinux group's assistant I can now connect to the BackupPc server but now BackupPC is not allowed to read the disk where my backups are located. Connection problems are strange, but indeed related to the pacakge itself. As for reading backup location... The package can only handle the default location. If that is changed (most of the cases for a backup system) you're in charge to check SELinux and right management issues ; any package can do it for you. As I'm not selinux lists subscriber, I do not know exactly what the probelm was, and what has been done to be solved. Maybe could you send me in private a link to the archives pointing to that particular discution? I have my connection problem solved. I'm still having other problems though. On the other hand, I would accept any help improving the Fedora/EPEL package with a great pleasure. Well I have a little time so I'd be happy to help you. Just tell me how. Strange paths made SELinux unhappy. I started to implement the ability to change the bindir at install time, but I failed... As far as I remember, BackupPC is not really FHS compliant beacause: - LOCK file stands in /var/log, - PID file stands in /var/log, - binaries stands in /usr/share. - maybe others I've forget/I've never seen Also, some kind of temporary files are created althought they should not (I'll have to investigate a bit to find out what was the problem). These corrrections would benefit directly to BackupPC project (for the next release) and to packaging (globally) ; in my opinion. Thanks, Steve If you plan to make changes to BackupPC source code, you should use the current list (or more probably the devel one). If you have issues/questions/bugs/whatever about the package or SELinux issues, feel free to report them on the bugzilla (public reports would benefit to others I guess). Hmmm Perhaps I should have warned you. I have never done anything like this before and I have no idea how to go about it. Is there a Fedora packagers guide or something similar? Also are the requests made by the SELinux folks captured in a bug report? Steve -- ___ 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] SELinux preventing server connection.
On Mon, 26 Apr 2010 13:02:58 -0400 Steve Blackwell zep...@cfl.rr.com wrote: I'm getting a SELinux AVC when trying to connect to my BackupPC server. I found this bug https://bugzilla.redhat.com/show_bug.cgi?id=512035 and in comment 14 it says it was fixed in BackupPC-3.1.0-6.fc11 whereas I am running: # rpm -qa | grep BackupPC BackupPC-3.1.0-9.fc11.noarch and I am still seeing the issue. The SELinux list suggested that the BackupPC policy might not be installed by default. Can anyone tell the the current status of this problem? Fixed? Fixed but re-occured? Policy installed by default or no? I haven't had an answer to this yet but the folks on the SELinux list gave me some instructions on how to fix it. Unfortunately, it did not fix the problem because according to them the .pid file and the .sock file need to be in the /var/run directory and not in /var/log. Also according to the SELinux folks they requested a long time ago that the BackupPC package maintainer correct this but it has not been done. So, a couple of questions: 1) Who is the Fedora package maintainer for BackupPC? 2) Is there some reason or objection to making the changes as requested by SELinux? 3) Are there any plans to fix the original problem in F11? Thanks, Steve -- ___ 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] SELinux preventing server connection.
On Tue, 27 Apr 2010 18:23:03 +0200 Johan Cwiklinski maili...@x-tnd.be wrote: Hello, Le 27/04/2010 17:33, Steve Blackwell a écrit : On Mon, 26 Apr 2010 13:02:58 -0400 Steve Blackwell zep...@cfl.rr.com wrote: I'm getting a SELinux AVC when trying to connect to my BackupPC server. I found this bug https://bugzilla.redhat.com/show_bug.cgi?id=512035 and in comment 14 it says it was fixed in BackupPC-3.1.0-6.fc11 whereas I am running: # rpm -qa | grep BackupPC BackupPC-3.1.0-9.fc11.noarch and I am still seeing the issue. The SELinux list suggested that the BackupPC policy might not be installed by default. Can anyone tell the the current status of this problem? Fixed? Fixed but re-occured? Policy installed by default or no? I haven't had an answer to this yet but the folks on the SELinux list gave me some instructions on how to fix it. Unfortunately, it did not fix the problem because according to them the .pid file and the .sock file need to be in the /var/run directory and not in /var/log. Also according to the SELinux folks they requested a long time ago that the BackupPC package maintainer correct this but it has not been done. So, a couple of questions: 1) Who is the Fedora package maintainer for BackupPC? I am. Hi! 2) Is there some reason or objection to making the changes as requested by SELinux? They do not just ask me to change the pid and lock file ; but also to change the binary dir for example, and that is a very huge change in the backuppc code I do not know at all (I'm just a packager, not a perl dev). Additionnaly, I do not have time to do that for now. 3) Are there any plans to fix the original problem in F11? When I used F-11, I had no problems. I've tested under a VM when the bug was reported, that worked for me. I can quickly fix PID file and LOCK file locations (I did not do that already because it was not enought having official selinux rules for the daemon according to SELinux team). That may solve your issue, I really do not know, let me know on the BZ. BZ=bugzilla? I had alway run SELinux in permissive mode because of the problems I was having. After talking with the SELinux folks and reinstalling the targeted policy, I am now running in enforcing mode but I'm experiencing these issues. By the way, I'm using backuppc with SELinux enabled under F-12 with exactly the same SELinux rules and files location ; and I do not have any problems so far. Basically, just run restorecon -R -v /var/log/BackupPC should does the trick ; files under that directory should be labelled system_u:object_r:httpd_sys_content_t:s0 (the contexts I have on my F-12 box) and of course have to be owned by backuppc user. The files in my /var/log/BackupPC were labelled incorrectly and restorecon wasn't changing anything. I don't know why that was but I have fixed that now. Even after that, I was still getting write and connectto denials on /var/log/BackupPC.sock. With the SELinux group's assistant I can now connect to the BackupPc server but now BackupPC is not allowed to read the disk where my backups are located. On the other hand, I would accept any help improving the Fedora/EPEL package with a great pleasure. Well I have a little time so I'd be happy to help you. Just tell me how. Thanks, Steve -- ___ 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] SELinux preventing server connection.
I'm getting a SELinux AVC when trying to connect to my BackupPC server. I found this bug https://bugzilla.redhat.com/show_bug.cgi?id=512035 and in comment 14 it says it was fixed in BackupPC-3.1.0-6.fc11 whereas I am running: # rpm -qa | grep BackupPC BackupPC-3.1.0-9.fc11.noarch and I am still seeing the issue. The SELinux list suggested that the BackupPC policy might not be installed by default. Can anyone tell the the current status of this problem? Fixed? Fixed but re-occured? Policy installed by default or no? Thanks, Steve -- ___ 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] Backups failing
I recently upgraded from F10 to F11 via preupgrade and everything appeared to go fine but now the backups of my PC keep failing with the following error in the log file: Backup failed on steve (Tar exited with error 512 () status) Info tar says there are only 3 possible exit codes; 0, 1 and 2 but that If `tar' has invoked a subprocess and that subprocess exited with a nonzero exit code, `tar' exits with that code as well. My $TarClientCmd is: /usr/bin/sudo $tarPath -c -v -f - -C $shareName --totals Here are a couple of other pieces of info which may or may not be relevant: - The backups of my wife's Vista PC works OK. - The upgrade from F10-F11 chaged the name of my backup media from /media/disk to /media/long UUID so I changed $TopDir accordingly. - The sever is version 3.1.0. Can anyone tell me what a 512 error is or give my any insight into the problem? Thanks, Steve -- 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] Backups failing
On Sat, 2 Jan 2010 10:40:51 -0600 Michael Stowe mst...@chicago.us.mensa.org wrote: - The upgrade from F10-F11 chaged the name of my backup media from /media/disk to /media/long UUID so I changed $TopDir accordingly. That's your problem ... you can't do this. I'd recommend putting $TopDir back to what it was and creating a symbolic link. Ah! I don't like having that UUID as the name of the directory anyway. Is there a way to tell automount to call it disk instead? Thanks, Steve -- 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] 100,000+ errors in last nights backup
Holger, I started to reply to your e-mail but my system crashed. The messages log suggests that backuppc may have been the culprit. See below. On Thu, 13 Aug 2009 02:19:25 +0200 Holger Parplies wb...@parplies.de wrote: Hi, Jeffrey J. Kosowsky wrote on 2009-08-12 18:12:09 -0400 [Re: [BackupPC-users] 100,000+ errors in last nights backup]: Steve Blackwell wrote at about 14:33:54 -0400 on Wednesday, August 12, 2009: Steve Blackwell wrote at about 11:18:36 -0400 on Wednesday, August 12, 2009: On Wed, 12 Aug 2009 10:06:37 -0400 Jeffrey J. Kosowsky backu...@kosowsky.org wrote: Try manually doing something like the following from the command line: link b32585c3cc30b7ebb556d335a08554e3 /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml Where do I need to be to run this? you need to be in $TopDir/cpool/b/3/2 ... or rather, it should be sudo -u backuppc ln $TopDir/cpool/b/3/2/b32585c3cc30b7ebb556d335a08554e3 /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml my $TopDir is /media/disk. I ran the command above and it appeared to work OK. I don't have the exact result anymore because of the crash. (or use 'link' if you prefer). You need to get $TopDir right though. See below. # sudo -u backuppc link b32585c3cc30b7ebb556d335a08554e3 /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml link: cannot create link `/media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml' to `b32585c3cc30b7ebb556d335a08554e3': No such file or directory Yes, most directories won't contain a file with that name ;-). Jeffrey, I'm now thinking that two backups have somehow been scheduled at the same. See the Les Miskell thread. I agree with that except for the name. But I don't think it's the problem, at least not the one you're looking for. I can't imagine why two backups of the same host would be scheduled simultaneously, and I don't think it's a good idea to do so :-). BackupPC doesn't usually do this. Have you changed the code in any way? Have you seen such a thing happen before? Could I have started the backuppc service twice somehow? I certainly haven't changed any of the code. I haven't written any perl since perl 4 circa 1995. 8 [snip] So, I believe we're back to the issue of what you did wrong when moving $TopDir. I don't remember reading which version of BackupPC When moving $TopDir? I haven't moved it. It's always been /media/disk ever since I installed backuppc. you are using. What did you do to move $TopDir? Have a look at the old location, wherever that was. Are there files with recent modification times below the cpool/ directory? Below /media/disk/cpool? BackupPC_nightly reports files there, but # ls -l /media/disk total 48 drwxr-x--- 18 backuppc root 4096 2009-08-12 20:00 cpool drwx-- 2 root root 16384 2008-07-16 23:54 lost+found drwxr-x--- 4 backuppc root 4096 2009-08-09 23:06 pc drwxr-x--- 2 backuppc root 4096 2008-07-26 18:53 pool drwxr-x--- 2 backuppc root 4096 2009-08-11 01:25 trash So cpool has today's date ]# ls -l /media/disk/cpool total 128 drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 0 drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 1 drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 2 drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 3 drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 4 drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 5 drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 6 drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 7 drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 8 drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 9 drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 a drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 b drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 c drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 d drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 e drwxr-x--- 18 backuppc backuppc 4096 2009-06-28 15:30 f Nothing since 6/28. This is where I got to when the machine crashed. Looking at /var/log/messages I see this: Aug 12 20:00:12 steve kernel: [ cut here ] Aug 12 20:00:12 steve kernel: WARNING: at lib/list_debug.c:51 list_del+0x41/0x60() Aug 12 20:00:12 steve kernel: Hardware name: To Be Filled By O.E.M. Aug 12 20:00:12 steve kernel: list_del corruption. next-prev should be c14c2838, but was c14c2878 Aug 12 20:00:12 steve kernel: Modules linked in: snd_seq_midi vfat fat autofs4 w83627ehf hwmon_vid hwmon nf_conntrack_netbios_ns nf_conntrack_ipv6 ip6t_ipv6header ip6t_REJECT ip6table_filter ip6_tables ipv6 p4_clockmod fuse dm_multipath uinput snd_usb_audio snd_usb_lib snd_emu10k1_synth
Re: [BackupPC-users] 100,000+ errors in last nights backup
Last night's backup, after the restart due to the crash appears to have worked OK. Here is the server log file: 2009-08-13 01:00:00 Running 2 BackupPC_nightly jobs from 0..15 (out of 0..15) 2009-08-13 01:00:00 Running BackupPC_nightly -m 0 127 (pid=5801) 2009-08-13 01:00:00 Running BackupPC_nightly 128 255 (pid=5802) 2009-08-13 01:00:00 Next wakeup is 2009-08-13 02:00:00 2009-08-13 01:00:02 Started incr backup on steve (pid=5803, share=/) 2009-08-13 01:06:37 Finished admin1 (BackupPC_nightly 128 255) 2009-08-13 01:06:37 BackupPC_nightly now running BackupPC_sendEmail 2009-08-13 01:06:47 Finished admin (BackupPC_nightly -m 0 127) 2009-08-13 01:06:47 Pool nightly clean removed 0 files of size 0.00GB 2009-08-13 01:06:47 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 0 max links), 1 directories 2009-08-13 01:06:47 Cpool nightly clean removed 1 files of size 0.00GB 2009-08-13 01:06:47 Cpool is 15.90GB, 397513 files (48553 repeated, 11 max chain, 794 max links), 4369 directories 2009-08-13 01:29:59 Finished incr backup on steve 2009-08-13 01:29:59 Running BackupPC_link steve (pid=5977) 2009-08-13 01:30:21 Finished steve (BackupPC_link steve) and the corresponding log file from steve: 2009-08-13 01:00:02 incr backup started back to 2009-08-12 00:00:06 (backup #151) for directory / 2009-08-13 01:29:59 incr backup 152 complete, 41555 files, 0 bytes, 0 xferErrs (0 bad files, 0 bad shares, 0 other) I didn't change any settings. I think it's worse when things magically start to work than when they continue to fail. [:-P Steve -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] 100,000+ errors in last nights backup
On Thu, 13 Aug 2009 10:18:20 -0500 Les Mikesell lesmikes...@gmail.com wrote: Steve Blackwell wrote: I didn't change any settings. I think it's worse when things magically start to work than when they continue to fail. [:-P Running Fedora or some other close-to-beta OS? F10. I use the oldest supported version in an attempt to step away from the bleeding edge. That strategy has worked up until this version. Steve. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] 100,000+ errors in last nights backup
Backuppc has been behaving strangely lately. This is another instance. This is part of the log file for host steve: 2009-08-12 01:00:06 full backup started for directory / 2009-08-12 01:00:06 full backup started for directory / 2009-08-12 05:00:06 Rename /media/disk/pc/steve/new - /media/disk/pc/steve/151 failed 2009-08-12 05:00:06 full backup complete, 388335 files, 0 bytes, 2 xferErrs (0 bad files, 0 bad shares, 2 other) 2009-08-12 05:00:06 full backup 151 complete, 388335 files, 0 bytes, 2 xferErrs (0 bad files, 0 bad shares, 2 other) Apart from the fact that the backup seems to have started twice (Maybe just logged twice?) everything looks OK but then In the server log file I get this: 2009-08-12 01:00:06 Started full backup on steve (pid=2644, share=/) 2009-08-12 01:06:15 BackupPC_nightly now running BackupPC_sendEmail 2009-08-12 01:06:16 Finished admin1 (BackupPC_nightly 128 255) 2009-08-12 01:06:36 Finished admin (BackupPC_nightly -m 0 127) 2009-08-12 01:06:36 Pool nightly clean removed 0 files of size 0.00GB 2009-08-12 01:06:36 Pool is 0.00GB, 0 files (0 repeated, 0 max chain, 0 max links), 1 directories 2009-08-12 01:06:36 Cpool nightly clean removed 0 files of size 0.00GB 2009-08-12 01:06:36 Cpool is 111.15GB, 364467 files (21648 repeated, 10 max chain, 793 max links), 4369 directories 2009-08-12 02:00:00 Next wakeup is 2009-08-12 03:00:00 2009-08-12 03:00:01 Next wakeup is 2009-08-12 04:00:00 2009-08-12 04:00:00 Next wakeup is 2009-08-12 05:00:00 2009-08-12 05:00:01 Next wakeup is 2009-08-12 06:00:00 2009-08-12 05:00:06 Finished full backup on steve 2009-08-12 05:00:06 Running BackupPC_link steve (pid=8901) 2009-08-12 05:00:08 BackupPC_link got error -3 when calling MakeFileLink(/media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml, b32585c3cc30b7ebb556d335a08554e3, 1) followed by 100,000+ of the same error on different files What is going on here? Thanks, Steve -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] 100,000+ errors in last nights backup
On Wed, 12 Aug 2009 10:06:37 -0400 Jeffrey J. Kosowsky backu...@kosowsky.org wrote: Steve Blackwell wrote at about 08:49:23 -0400 on Wednesday, August 12, 2009: Backuppc has been behaving strangely lately. This is another instance. ... 05:00:06 Running BackupPC_link steve (pid=8901) 2009-08-12 05:00:08 BackupPC_link got error -3 when calling MakeFileLink(/media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml, b32585c3cc30b7ebb556d335a08554e3, 1) followed by 100,000+ of the same error on different files What is going on here? Error -3 means that calling the perl function link (between a file in the pool and a name in the pc tree) failed. Try manually doing something like the following from the command line: link b32585c3cc30b7ebb556d335a08554e3 /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml Where do I need to be to run this? Potential reasons: - Files are on different filesystems - File system you are using doesn't allow hard links (what filesystem are you using) # mount ... /dev/sdd2 on /media/disk type ext3 (rw,nosuid,nodev,uhelper=hal) ... - Pool file somehow got erased before MakeFileLink was called or pc tree got erased - File system full (?) From logwatch: - Disk Space Begin FilesystemSize Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 143G 57G 78G 43% / /dev/sdb1 190M 21M 160M 12% /boot /dev/sda1 112G 69G 44G 61% /mnt/c_drive /dev/sdc1 7.6G 783M 6.9G 11% /media/UDISK /dev/sdd1 466G 80M 466G 1% /media/WINDOWS_BACUP /dev/sdd2 459G 30G 406G 7% /media/disk -- Disk Space End - so plenty of space! I guess I would ask what have you changed lately either for BackupPC specifically or on your setup in general? The backup drive is a 1TB external USB and my computer is getting a little long in the tooth and the BIOS won't boot if I power on with it connected. So I get lazy and don't always plug it in and restart the backuppc service. What has changed is that I'm being more diligent in making my backups and perhaps more significantly, I have recently upgraded from F9 to F10. Thanks, Steve -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] 100,000+ errors in last nights backup
On Wed, 12 Aug 2009 10:19:47 -0500 Les Mikesell lesmikes...@gmail.com wrote: Steve Blackwell wrote: Backuppc has been behaving strangely lately. This is another instance. This is part of the log file for host steve: 2009-08-12 01:00:06 full backup started for directory / 2009-08-12 01:00:06 full backup started for directory / 2009-08-12 05:00:06 Rename /media/disk/pc/steve/new - /media/disk/pc/steve/151 failed Out of inodes? Check with 'df -i'. # df -i FilesystemInodes IUsed IFree IUse% Mounted on /dev/mapper/VolGroup00-LogVol00 38502400 300300 382021001% / /dev/sdb150200 40 501601% /boot tmpfs 129178 2 1291761% /dev/shm /dev/sda1 45944516 79740 458647761% /mnt/c_drive /dev/sdc10 0 0- /media/UDISK /dev/sdd1 488231440 23 488231417 1% /media/WINDOWS_BACUP /dev/sdd2 61063168 790151 602730172% /media/disk No problems there but thanks for the suggestion. Steve. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] 100,000+ errors in last nights backup
On Wed, 12 Aug 2009 12:24:04 -0400 Jeffrey J. Kosowsky backu...@kosowsky.org wrote: Steve Blackwell wrote at about 11:18:36 -0400 on Wednesday, August 12, 2009: On Wed, 12 Aug 2009 10:06:37 -0400 Jeffrey J. Kosowsky backu...@kosowsky.org wrote: Steve Blackwell wrote at about 08:49:23 -0400 on Wednesday, August 12, 2009: Backuppc has been behaving strangely lately. This is another instance. ... 05:00:06 Running BackupPC_link steve (pid=8901) 2009-08-12 05:00:08 BackupPC_link got error -3 when calling MakeFileLink(/media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml, b32585c3cc30b7ebb556d335a08554e3, 1) followed by 100,000+ of the same error on different files What is going on here? Error -3 means that calling the perl function link (between a file in the pool and a name in the pc tree) failed. Try manually doing something like the following from the command line: link b32585c3cc30b7ebb556d335a08554e3 /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml Where do I need to be to run this? From the command line anywhere. Just type the command as-is. Actually type it as: su -u backuppc link ... so that it runs as user 'backuppc' If it works, you can undo it by typing: rm /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml (assuming the file didn't exist previously) su doesn't have a -u option. # su --help Usage: su [OPTION]... [-] [USER [ARG]...] Change the effective user id and group id to that of USER. -, -l, --login make the shell a login shell -c, --command=COMMANDpass a single COMMAND to the shell with -c --session-command=COMMANDpass a single COMMAND to the shell with -c and do not create a new session -f, --fast pass -f to the shell (for csh or tcsh) -m, --preserve-environment do not reset environment variables -p same as -m -s, --shell=SHELLrun SHELL if /etc/shells allows it --help display this help and exit --version output version information and exit A mere - implies -l. If USER not given, assume root. Report bugs to bug-coreut...@gnu.org. # su backuppc link b32585c3cc30b7ebb556d335a08554e3 /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml This account is currently not available. # link b32585c3cc30b7ebb556d335a08554e3 /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml link: cannot create link `/media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml' to `b32585c3cc30b7ebb556d335a08554e3': No such file or directory Steve -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] 100,000+ errors in last nights backup
On Wed, 12 Aug 2009 11:00:19 -0500 Les Mikesell lesmikes...@gmail.com wrote: Steve Blackwell wrote: On Wed, 12 Aug 2009 10:19:47 -0500 Les Mikesell lesmikes...@gmail.com wrote: Steve Blackwell wrote: Backuppc has been behaving strangely lately. This is another instance. This is part of the log file for host steve: 2009-08-12 01:00:06 full backup started for directory / 2009-08-12 01:00:06 full backup started for directory / 2009-08-12 05:00:06 Rename /media/disk/pc/steve/new - /media/disk/pc/steve/151 failed Out of inodes? Check with 'df -i'. # df -i FilesystemInodes IUsed IFree IUse% Mounted on /dev/mapper/VolGroup00-LogVol00 38502400 300300 382021001% / /dev/sdb150200 40 501601% /boot tmpfs 129178 2 1291761% /dev/shm /dev/sda1 45944516 79740 458647761% /mnt/c_drive /dev/sdc10 0 0- /media/UDISK /dev/sdd1 488231440 23 488231417 1% /media/WINDOWS_BACUP /dev/sdd2 61063168 790151 602730172% /media/disk No problems there but thanks for the suggestion. Can you 'mv /media/disk/pc/steve/151' as the backuppc user? Also, look at the output of 'dmesg' - you might have physical disk errors. If this is a packaged (rpm) install, did you follow the wiki instructions for moving the storage location? There is no file /media/disk/pc/steve/new. # ls -l /media/disk/pc/steve total 15388 drwxr-x--- 3 backuppc backuppc4096 2009-08-04 17:03 146 drwxr-x--- 3 backuppc backuppc4096 2009-08-05 20:18 147 drwxr-x--- 3 backuppc backuppc4096 2009-08-08 18:31 148 drwxr-x--- 3 backuppc backuppc4096 2009-08-11 02:10 150 drwxr-x--- 3 backuppc backuppc4096 2009-08-12 05:13 151 -rw-r- 1 backuppc backuppc 802 2009-08-12 05:21 backups -rw-r- 1 backuppc backuppc 799 2009-08-12 05:21 backups.old -rw-r- 1 backuppc backuppc 0 2008-07-26 19:00 LOCK -rw-r- 1 backuppc backuppc 585 2009-01-31 20:09 LOG.012009.z -rw-r- 1 backuppc backuppc 963 2009-02-28 20:40 LOG.022009.z -rw-r- 1 backuppc backuppc 412 2009-03-23 20:14 LOG.032009.z -rw-r- 1 backuppc backuppc 797 2009-04-26 20:09 LOG.042009.z -rw-r- 1 backuppc backuppc 172 2009-06-28 15:30 LOG.062009.z -rw-r- 1 backuppc backuppc 959 2008-08-31 20:05 LOG.082008.z -rw-r- 1 backuppc backuppc2308 2009-08-12 05:00 LOG.082009 -rw-r- 1 backuppc backuppc 748 2008-09-22 20:07 LOG.092008.z -rw-r- 1 backuppc backuppc 662 2008-10-31 20:11 LOG.102008.z -rw-r- 1 backuppc backuppc 625 2008-11-30 05:27 LOG.112008.z -rw-r- 1 backuppc backuppc 143 2008-12-09 05:05 LOG.122008.z -rw-r- 1 backuppc apache 290 2008-07-30 20:48 RestoreInfo.0 -rw-r- 1 backuppc backuppc 200 2008-07-30 20:48 RestoreLOG.0.z -rw-r- 1 backuppc backuppc 36 2008-07-30 20:48 restores -rw-r- 1 backuppc backuppc 4373346 2009-08-04 17:03 XferLOG.146.z -rw-r- 1 backuppc backuppc 439712 2009-08-05 20:18 XferLOG.147.z -rw-r- 1 backuppc backuppc 619036 2009-08-08 18:31 XferLOG.148.z -rw-r- 1 backuppc backuppc 1064831 2009-08-10 02:31 XferLOG.149.z -rw-r- 1 backuppc backuppc 848135 2009-08-11 02:10 XferLOG.150.z -rw-r- 1 backuppc backuppc 8149788 2009-08-12 05:00 XferLOG.151.z -rw-r- 1 backuppc backuppc 264 2008-07-29 12:25 XferLOG.bad.z.old Steve -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] 100,000+ errors in last nights backup
On Wed, 12 Aug 2009 12:54:05 -0500 Les Mikesell lesmikes...@gmail.com wrote: Steve Blackwell wrote: On Wed, 12 Aug 2009 11:00:19 -0500 Les Mikesell lesmikes...@gmail.com wrote: Steve Blackwell wrote: On Wed, 12 Aug 2009 10:19:47 -0500 Les Mikesell lesmikes...@gmail.com wrote: Steve Blackwell wrote: Backuppc has been behaving strangely lately. This is another instance. This is part of the log file for host steve: 2009-08-12 01:00:06 full backup started for directory / 2009-08-12 01:00:06 full backup started for directory / 2009-08-12 05:00:06 Rename /media/disk/pc/steve/new - /media/disk/pc/steve/151 failed Out of inodes? Check with 'df -i'. # df -i FilesystemInodes IUsed IFree IUse% Mounted on /dev/mapper/VolGroup00-LogVol00 38502400 300300 382021001% / /dev/sdb150200 40 501601% /boot tmpfs 129178 2 1291761% /dev/shm /dev/sda1 45944516 79740 458647761% /mnt/c_drive /dev/sdc10 0 0- /media/UDISK /dev/sdd1 488231440 23 488231417 1% /media/WINDOWS_BACUP /dev/sdd2 61063168 790151 602730172% /media/disk No problems there but thanks for the suggestion. Can you 'mv /media//disk/pc/steve/new /media/disk/pc/steve/151' as the backuppc user? Also, look at the output of 'dmesg' - you might have physical disk errors. If this is a packaged (rpm) install, did you follow the wiki instructions for moving the storage location? There is no file /media/disk/pc/steve/new. # ls -l /media/disk/pc/steve total 15388 drwxr-x--- 3 backuppc backuppc4096 2009-08-04 17:03 146 drwxr-x--- 3 backuppc backuppc4096 2009-08-05 20:18 147 drwxr-x--- 3 backuppc backuppc4096 2009-08-08 18:31 148 drwxr-x--- 3 backuppc backuppc4096 2009-08-11 02:10 150 drwxr-x--- 3 backuppc backuppc4096 2009-08-12 05:13 151 -rw-r- 1 backuppc backuppc 802 2009-08-12 05:21 backups -rw-r- 1 backuppc backuppc 799 2009-08-12 05:21 backups.old -rw-r- 1 backuppc backuppc 0 2008-07-26 19:00 LOCK -rw-r- 1 backuppc backuppc 585 2009-01-31 20:09 LOG.012009.z -rw-r- 1 backuppc backuppc 963 2009-02-28 20:40 LOG.022009.z -rw-r- 1 backuppc backuppc 412 2009-03-23 20:14 LOG.032009.z -rw-r- 1 backuppc backuppc 797 2009-04-26 20:09 LOG.042009.z -rw-r- 1 backuppc backuppc 172 2009-06-28 15:30 LOG.062009.z -rw-r- 1 backuppc backuppc 959 2008-08-31 20:05 LOG.082008.z -rw-r- 1 backuppc backuppc2308 2009-08-12 05:00 LOG.082009 -rw-r- 1 backuppc backuppc 748 2008-09-22 20:07 LOG.092008.z -rw-r- 1 backuppc backuppc 662 2008-10-31 20:11 LOG.102008.z -rw-r- 1 backuppc backuppc 625 2008-11-30 05:27 LOG.112008.z -rw-r- 1 backuppc backuppc 143 2008-12-09 05:05 LOG.122008.z -rw-r- 1 backuppc apache 290 2008-07-30 20:48 Restoreinfo.0 -rw-r- 1 backuppc backuppc 200 2008-07-30 20:48 RestoreLOG.0.z -rw-r- 1 backuppc backuppc 36 2008-07-30 20:48 restores -rw-r- 1 backuppc backuppc 4373346 2009-08-04 17:03 XferLOG.146.z -rw-r- 1 backuppc backuppc 439712 2009-08-05 20:18 XferLOG.147.z -rw-r- 1 backuppc backuppc 619036 2009-08-08 18:31 XferLOG.148.z -rw-r- 1 backuppc backuppc 1064831 2009-08-10 02:31 XferLOG.149.z -rw-r- 1 backuppc backuppc 848135 2009-08-11 02:10 XferLOG.150.z -rw-r- 1 backuppc backuppc 8149788 2009-08-12 05:00 XferLOG.151.z -rw-r- 1 backuppc backuppc 264 2008-07-29 12:25 XferLOG.bad.z.old So a subsequent backup has completed? Or was the 151 directory there before? If it wasn't there and that rename failed, there would be an obvious reason for the subsequent link failures involving things under the 151 directory. As I said in my original e-mail: 2009-08-12 01:00:06 full backup started for directory / 2009-08-12 01:00:06 full backup started for directory / 2009-08-12 05:00:06 Rename /media/disk/pc/steve/new - /media/disk/pc/steve/151 failed 2009-08-12 05:00:06 full backup complete, 388335 files, 0 bytes, 2 xferErrs (0 bad files, 0 bad shares, 2 other) 2009-08-12 05:00:06 full backup 151 complete, 388335 files, 0 bytes, 2 xferErrs (0 bad files, 0 bad shares, 2 other) Apart from the fact that the backup seems to have started twice (Maybe just logged twice?)... So perhaps backuppc is somehow scheduling the backup to run twice at the same time but then if the rename of 'new' to '151' is failing, what is creating '151'? Does the first backup do the rename so that 'new' does not exist for the 2nd backup? That might explain things but then how is the backup scheduled twice? Confused Steve -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial
Re: [BackupPC-users] 100,000+ errors in last nights backup
On Wed, 12 Aug 2009 14:18:04 -0400 Jeffrey J. Kosowsky backu...@kosowsky.org wrote: Steve Blackwell wrote at about 13:27:17 -0400 on Wednesday, August 12, 2009: On Wed, 12 Aug 2009 12:24:04 -0400 Jeffrey J. Kosowsky backu...@kosowsky.org wrote: Steve Blackwell wrote at about 11:18:36 -0400 on Wednesday, August 12, 2009: On Wed, 12 Aug 2009 10:06:37 -0400 Jeffrey J. Kosowsky backu...@kosowsky.org wrote: Steve Blackwell wrote at about 08:49:23 -0400 on Wednesday, August 12, 2009: Backuppc has been behaving strangely lately. This is another instance. ... 05:00:06 Running BackupPC_link steve (pid=8901) 2009-08-12 05:00:08 BackupPC_link got error -3 when calling MakeFileLink(/media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml, b32585c3cc30b7ebb556d335a08554e3, 1) followed by 100,000+ of the same error on different files What is going on here? Error -3 means that calling the perl function link (between a file in the pool and a name in the pc tree) failed. Try manually doing something like the following from the command line: link b32585c3cc30b7ebb556d335a08554e3 /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml Where do I need to be to run this? From the command line anywhere. Just type the command as-is. Actually type it as: su -u backuppc link ... so that it runs as user 'backuppc' If it works, you can undo it by typing: rm /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml (assuming the file didn't exist previously) su doesn't have a -u option. run: sudo -u backuppc or su backuppc -c link... # sudo -u backuppc link b32585c3cc30b7ebb556d335a08554e3 /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml link: cannot create link `/media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml' to `b32585c3cc30b7ebb556d335a08554e3': No such file or directory Jeffrey, I'm now thinking that two backups have somehow been scheduled at the same. See the Les Miskell thread. Steve -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] 100,000+ errors in last nights backup
On Wed, 12 Aug 2009 18:12:09 -0400 Jeffrey J. Kosowsky backu...@kosowsky.org wrote: Steve Blackwell wrote at about 14:33:54 -0400 on Wednesday, August 12, 2009: On Wed, 12 Aug 2009 14:18:04 -0400 Jeffrey J. Kosowsky backu...@kosowsky.org wrote: Steve Blackwell wrote at about 13:27:17 -0400 on Wednesday, August 12, 2009: On Wed, 12 Aug 2009 12:24:04 -0400 Jeffrey J. Kosowsky backu...@kosowsky.org wrote: Steve Blackwell wrote at about 11:18:36 -0400 on Wednesday, August 12, 2009: On Wed, 12 Aug 2009 10:06:37 -0400 Jeffrey J. Kosowsky backu...@kosowsky.org wrote: Steve Blackwell wrote at about 08:49:23 -0400 on Wednesday, August 12, 2009: Backuppc has been behaving strangely lately. This is another instance. ... 05:00:06 Running BackupPC_link steve (pid=8901) 2009-08-12 05:00:08 BackupPC_link got error -3 when calling MakeFileLink(/media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml, b32585c3cc30b7ebb556d335a08554e3, 1) followed by 100,000+ of the same error on different files What is going on here? Error -3 means that calling the perl function link (between a file in the pool and a name in the pc tree) failed. Try manually doing something like the following from the command line: link b32585c3cc30b7ebb556d335a08554e3 /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml Where do I need to be to run this? From the command line anywhere. Just type the command as-is. Actually type it as: su -u backuppc link ... so that it runs as user 'backuppc' If it works, you can undo it by typing: rm /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml (assuming the file didn't exist previously) su doesn't have a -u option. run: sudo -u backuppc or su backuppc -c link... # sudo -u backuppc link b32585c3cc30b7ebb556d335a08554e3 /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml link: cannot create link `/media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/f%25gconf.xml' to `b32585c3cc30b7ebb556d335a08554e3': No such file or directory Jeffrey, I'm now thinking that two backups have somehow been scheduled at the same. See the Les Miskell thread. Steve I don't know. I am perplexed since the code that is creating the error code '3' is as follows (from MakeFileLink in Lib.pm): return -1 if ( !-f $name ); for ( $i = -1 ; ; $i++ ) { return -2 if ( !defined($rawFile = $bpc-MD52Path($d, $compress)) ); $rawFile .= _$i if ( $i = 0 ); if ( -f $rawFile ) { if ( (stat(_))[3] $bpc-{Conf}{HardLinkMax} !compare($name, $rawFile) ) { unlink($name); return -3 if ( !link($rawFile, $name) ); Now: $name exists (per the test in the first line) $rawFile exists (per the test in line 6) yet the link fails a couple of lines later. So unless there is an incredibly precise race condition and assuming links work on your machine, the 'link' in the final line should succeed. It is hard to believe that there could be a repeatable race condition with another backup that is so precise that a file exists in one line and then no longer exists just a couple of simple lines of perl code later. I'm still wondering whether there is some problem with linking/unlinking on your computer. So the problem is either that the unlink (i.e., delete) fails in the next to last line or the link fails in the last line. You may also want to look at ownership/permissions in your pc tree to make sure that the relevant files and directories are writable by user backuppc. Also, why don't you try re-running the manual link line that I gave you but this time link against a known *existing* (random) pool file. Also try something like: su backuppc -c touch /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/tempfile su backuppc -c rm /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/tempfile su backuppc -c doesn't work but... # sudo -u backuppc touch /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/tempfile # ls /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome/faccessibility/fkeyboard/tempfile /media/disk/pc/steve/151/f%2f/froot/f.gconf/fdesktop/fgnome
[BackupPC-users] Backups stopped working for Vista machine
I have BackupPC set up to backup my Fedora F10 box and my wife's Vista box to an external USB drive. I had everything working and then some time ago the backups stopped working for the Vista box and I'm just getting around to looking into it. The error log shows: Running: /usr/bin/smbclient user-pc\\C\$ -U User -E -N -d 1 -c tarmode\ full -TcrX - list of excluded files full backup started for share C$ Xfer PIDs are now 9222,9221 tar_re_search set Anonymous login successful [ skipped 1 lines ] tree connect failed: NT_STATUS_ACCESS_DENIED So there is the problem...I think. The -N on the cmd line says (from the smbclient man page) If specified, this parameter suppresses the normal password prompt from the client to the user. This is useful when accessing a service that does not require a password. so its logging in anonymously but I need to use a password so that User has sufficient privileges on the Vista box to execute the command. The password is correctly set in the SmbSharePasswd variable. Can someone enlighten me? Thanks, Steve -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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] Backuppc doesn't back up all files on Vista machine
So I have 2 questions: 1) Why can't backuppc backup all the files when using smb as an administrator? Can't help you with that one. 2) Why does smbclient show files that I cannot see when logged into the machine directly? In Windows, files and folders can be marked as hidden or system. By default, the Windows Explorer doesn't show them. To see everything, do this: - Go to the Tools menu and click Folder Options - Click the View tab - Select Show hidden files and folders - Deselect Hide protected operating system files - Click Ok Good! Mystery #2 solved. Deselecting Hide protected operating system files did the trick. Now for dome more research on problem 1. Thanks, Steve - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Backuppc doesn't back up all files on Vista machine
Let me preface my questions by saying that I know just about nothing about Windows administration, never wanted to, never needed to before now, so this may well be a duh! question. I finially got backuppc to back up my wife's Vista computer using smb after I figured out that the user name that she logs in with is not the real user name the system uses. Anyhow, in the backup logs there are a number of Xfer errors listed. There are 2 types of error; sharing violations and access violations. The sharing violations I understand but I was surprised to see access violations since the user is an administrator. One of the files I get an access violation on is C:\Documents and Settings. So, from my F8 box I ran $ smbclient user-pc\\c\$ -U user entered the password and got to an smb- prompt. A directory listing shows all the files under C: including one named Documents and Settings. What really confused me is that is if I log into the Vista machine as the same user and look at the files on the C: drive (with the show hidden files flag turned on), there is no Documents and Settings file! In Vista the users area was renamed Users instead of Documents and Settings This web site explains the differences: http://www.computerperformance.co.uk/vista/vista_appdata.htm Mark Interesting. So the Documents and Folders file I am seeing through smbclient is really a shortcut to the new Users directory put there to maintain backward compatibility with XP. Then they decide to hide it as a system file which, to me, defeats the purpose. I have noticed that all the directories that I get a NT_STATUS_ACCESS_DENIED error when attempting to backup have attributes of DHS and yet I can backup some directories that also have the same attributes. I'm guessing that DHS means directory, hidden and system. Thanks for that link Mark. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Backuppc doesn't back up all files on Vista machine
Let me preface my questions by saying that I know just about nothing about Windows administration, never wanted to, never needed to before now, so this may well be a duh! question. I finially got backuppc to back up my wife's Vista computer using smb after I figured out that the user name that she logs in with is not the real user name the system uses. Anyhow, in the backup logs there are a number of Xfer errors listed. There are 2 types of error; sharing violations and access violations. The sharing violations I understand but I was surprised to see access violations since the user is an administrator. One of the files I get an access violation on is C:\Documents and Settings. So, from my F8 box I ran $ smbclient user-pc\\c\$ -U user entered the password and got to an smb- prompt. A directory listing shows all the files under C: including one named Documents and Settings. What really confused me is that is if I log into the Vista machine as the same user and look at the files on the C: drive (with the show hidden files flag turned on), there is no Documents and Settings file! So I have 2 questions: 1) Why can't backuppc backup all the files when using smb as an administrator? 2) Why does smbclient show files that I cannot see when logged into the machine directly? Thanks, Steve - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Problems excluding files.
The documentation for $Conf{TarClientCmd} says ... Also, you will probably want to add ``/proc'' to $Conf{BackupFilesExclude}. The following variables are substituted at run-time: ... $fileListspecific files to backup or exclude ... I took this to mean that $fileList takes care of excluding the files in $Conf{BackupFilesExclude}. I have the following in my host.pl file: $Conf{BackupFilesExclude} = { 'system' = [ '/proc', '/sys', '/tmp' ], 'backup' = [ '/media' ] }; but the log show that it is still trying to backup /sys and /proc. Contents of file /media/disk/pc/steve/XferLOG.6.z, modified 2008-08-04 01:08:44 (Extracting only Errors) Running: /usr/bin/sudo /bin/tar -c -v -f - -C / --totals --newer=2008-07-29 17:06:39 . incr backup started back to 2008-07-29 17:06:39 (backup #2) for directory / Xfer PIDs are now 25863,25862 [ skipped 36677 lines ] /bin/tar: ./sys/devices/platform/uevent: File shrank by 4096 bytes; padding with zeros Id there something wrong with my $Conf{BackupFilesExclude} or do I need to add --exclude something to TarIncrArgs? Thanks, Steve - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Problems excluding files.
Hi, Steve Blackwell wrote on 2008-08-04 18:31:38 -0400 [[BackupPC-users] Problems excluding files.]: [...] Id there something wrong with my $Conf{BackupFilesExclude} yes. or do I need to add --exclude something to TarIncrArgs? No. You need to use the share name as hash key. Since you're using XferMethod tar, chances are your share is /, so you'd have $Conf{BackupFilesExclude} = { '/' = [ '/proc', '/sys', '/tmp' ], '/whatever/share/you/mean/by/backup' = [ '/media' ] }; You *can* use '*' as hash key if you want the excludes to apply to every share not explicitly given an exclude list, but it seems better practise (and less error prone) to explicitly list excludes by share like you did. Regards, Holger Aahh!!! Thanks Holger. I had not understood the use of the hash key. I thought it was just a kind of group name for some excludes. Now everything is working as expected. Steve - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Fatal error during xfer
Steve wrote: Well, I changed to use the correct full path for sudo and now I get this error: Contents of file /media/disk/pc/steve/XferLOG.bad.z, modified 2008-07-29 12:25:04 Running: /usr/bin/sudo /bin/tar -c -v -f - -C / --totals -- newer=2008-07-27\ 17:56:09 . incr backup started back to 2008-07-27 17:56:09 (backup #1) for directory / Xfer PIDs are now 3657,3656 sudo: sorry, you must have a tty to run sudo tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal Got fatal error during xfer (sudo: sorry, you must have a tty to run sudo) Backup aborted (sudo: sorry, you must have a tty to run sudo) Run 'visudo' on the client and comment out 'requiretty'. Nils Breunese. Excellent! I have a full backup running now. Once I've verified that I can recover a file, the next task is to try to back up a Windows laptop via smb. Thanks Nils and Ryan. Steve. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Fatal error during xfer
I just installed BackupPC and I started by attempting to backup just my local machine which is also the BackupPC server. Since this is a local machine I don't need ssh so I set my TarClientCmd to $tarPath -c -v -f - -C $shareName+ --totals. This worked OK but some directories were not backed up because the user, backuppc, doesn't have root privileges. Next I set up sudo to allow backuppc to run tar as root. I su'd to backuppc to test and it worked fine. My new TarClientCmd is sudo $tarPath -c -v -f - -C $shareName+ --totals. The problem is that when backuppc runs a backup at the schedules time, I get this error: Exec failed for sudo /bin/tar -c -v -f - -C / --totals --newer=2008-07-27\ 17:56:09 . tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal Got fatal error during xfer (Exec failed for sudo /bin/tar -c -v -f - -C / --totals --newer=2008-07-27\ 17:56:09 .) Backup aborted (Exec failed for id; sudo /bin/tar -c -v -f - -C / --totals --newer=2008-07-27\ 17:56:09 .) Any suggestions. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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] Fatal error during xfer
Adam Goryachev [EMAIL PROTECTED] wrote: Set the full path to sudo eg /bin/sudo Maybe that will help. Regards, Adam Thanls for the suggestion but I still get the same error. Stev e. Steve Blackwell wrote: I just installed BackupPC and I started by attempting to backup just my local machine which is also the BackupPC server. Since this is a local machine I don't need ssh so I set my TarClientCmd to $tarPath -c -v -f - -C $shareName+ --totals. This worked OK but some directories were not backed up because the user, backuppc, doesn't have root privileges. Next I set up sudo to allow backuppc to run tar as root. I su'd to backuppc to test and it worked fine. My new TarClientCmd is sudo $tarPath -c -v -f - -C $shareName+ --totals. The problem is that when backuppc runs a backup at the schedules time, I get this error: Exec failed for sudo /bin/tar -c -v -f - -C / --totals --newer=2008-07-27\ 17:56:09 . tarExtract: Done: 0 errors, 0 filesExist, 0 sizeExist, 0 sizeExistComp, 0 filesTotal, 0 sizeTotal Got fatal error during xfer (Exec failed for sudo /bin/tar -c -v -f - -C / --totals --newer=2008-07-27\ 17:56:09 .) Backup aborted (Exec failed for id; sudo /bin/tar -c -v -f - -C / --totals --newer=2008-07-27\ 17:56:09 .) Any suggestions. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ 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/