[BackupPC-users] What is the meaning of repeated, max chain and max links in the logfile?

2009-08-12 Thread Matthias Meyer
Hello,

Every day I get a message in __LOGDIR__/LOG:
2009-08-12 02:35:49 Cpool is 322.19GB, 1142028 files (860 repeated, 31 max 
chain, 11424 max links), 4369 directories

What is the meaning of:
repeated
max chain
max links

Thanks
Matthias
-- 
Don't Panic


--
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] Delete a file permanently

2009-08-12 Thread Peter Hanston
Jeffrey J. Kosowsky backuppc at kosowsky.org writes:

 The hard link issue has to do with hard links in the *source* not hard
 links in the backup (The BackupPC_deleteFile.pl program would be
 useless if it couldn't deal with BackupPC's own hard link structure).

Sounds great Jeffrey! Do you mind sending me your script so that I can try it? 

Thanx!


--
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

2009-08-12 Thread Steve Blackwell
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

2009-08-12 Thread Jeffrey J. Kosowsky
Steve Blackwell wrote at about 08:49:23 -0400 on Wednesday, August 12, 2009:
  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?
  

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


Potential reasons:
- Files are on different filesystems
- File system you are using doesn't allow hard links (what filesystem
  are you using)
- Pool file somehow got erased before MakeFileLink was called or pc
  tree got erased
- File system full (?)

I guess I would ask what have you changed lately either for BackupPC
specifically or on your setup in general?

  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/
  

--
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

2009-08-12 Thread Steve Blackwell
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

2009-08-12 Thread Steve Blackwell
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

2009-08-12 Thread Les Mikesell
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?

-- 
Les Mikesell
 lesmikes...@gmail.com




--
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] Cannot get tarCreate to work manually

2009-08-12 Thread Jeremy Mann
I am setting up a secondary backup server that will backup the contents of
our BackupPC server. My solution is to use tarCreate to create a tar file
which I will then rsync to the 2nd backup server. I cannot get the
tarCreate command to work.

I want to check the status and see what it is going to create, I type:

/usr/share/BackupPC/bin/BackupPC_tarCreate -h hostname -n -1 -l -s usr /

and I get:

No language setting
BackupPC::Lib-new failed


-- 
Jeremy Mann
jer...@biochem.uthscsa.edu

University of Texas Health Science Center
Bioinformatics Core Facility
http://www.bioinformatics.uthscsa.edu
Phone: (210) 567-2672


--
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

2009-08-12 Thread Jeffrey J. Kosowsky
Les Mikesell wrote at about 10:19:47 -0500 on Wednesday, August 12, 2009:
  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'.

Don't hard links re-use the same inode?
(remember it fails on the 'link' command)
  -- 
 Les Mikesell
  lesmikes...@gmail.com
  
  
  
  
  
  --
  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/
  

--
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

2009-08-12 Thread Jeffrey J. Kosowsky
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)

  
   
   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/
  

--
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] How to run 2 instances?

2009-08-12 Thread Jim Karen Ostrosky
Here is the scenario I want to set up:

instance #1: normal - backup of user PC's and some of localhost to 
local server.  Running now, very happy.
instance #2: What I want.  use sshfs to mount a remote drive (presumably 
through $conf{DumpPreUserCmd} ??), use BackupPC to backup specific files 
from localhost to this remote drive

userpcs - backuppc (local)
   backuppc (local) - remote drive mounted via sshfs

Previously I was using Dirvish to accomplish instance #2 via an rsync 
pull, but that machine is no longer available (and the USB drive failed 
too.)
All i can do is a push to the remote drive; that server cannot run any 
server software.

Is this feasible to accomplish?  I've looked briefly at the source code, 
and the code that checks the PID writes the PID  status to very defined 
places.  Wasn't sure how to go about changing things without breaking 
them (not a perl guy - yet.)

thanks

Jim Ostrosky


--
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

2009-08-12 Thread Steve Blackwell
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

2009-08-12 Thread Steve Blackwell
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

2009-08-12 Thread Les Mikesell
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.
-- 
   Les Mikesell


--
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

2009-08-12 Thread Jeffrey J. Kosowsky
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...

--
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

2009-08-12 Thread Steve Blackwell
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

2009-08-12 Thread Steve Blackwell
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

2009-08-12 Thread Filipe Brandenburger
Hi,

On Wed, Aug 12, 2009 at 08:49, Steve Blackwellzep...@cfl.rr.com wrote:
 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?

I used to have exactly this problem.

I guess you changed TopDir in your config.pl file, right?

Well, BackupPC 3.1.0 has a bug in that TopDir change will not affect
the pool and cpool directories, so it will try to create a
hardlink in /var/lib/BackupPC for a file in /media/disk, which are in
different filesystems, so it fails.

See this post for a patch that can be used to fix this issue:
http://sourceforge.net/mailarchive/message.php?msg_name=20080808032558.GG13869%40gratch.parplies.de

Alternatively, you may remove the /var/lib/BackupPC directory and
create a symbolic link to /media/disk in its place.

You can also upgrade your setup to 3.2.0 beta, which has this bug already fixed.

HTH,
Filipe

--
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] Revamping the Wiki

2009-08-12 Thread phil
Hello,

dan wrote:
 The wiki was made in a very ad-hoc manner.  When the discussion hit the
 mailing list there wasnt much leadership.. backuppc tends to be mailing list
 driven rather than forums or wikis.

I've just look at the (new) backuppc wiki located at:

http://sourceforge.net/apps/mediawiki/backuppc/

and was shocked ... where is all the content?

I've put in some hours of work, describing how to setup cygwin, ssh,
rsyncd etc. to backup windows clients with backuppc.

Since I like to write short howto's for myself, when researching stuff,
I thought I can use the backuppc wiki and give something back to the
community.
But its bad if the information can't be retrieved because of switching
to another wiki platform ... :-/

So where is the old content?!

It's true that BackupPC tends to be mailinglist driven, but for people
like myself who like to research what is possible and if a problem has
been solved already a wiki is much more user-friendly.

I like the the idea of something like a backuppc cookbook.

Question: Where can I find the old content?
I could than start from scratch and rebuild the wiki, maybe with the
focus for different kind of users:

1) beginners (they will mostly _not_ mailinglists) - the cookbook
2) experienced users looking for new infrastructure ideas and use cases
3) ?

Kind regards from B erlin

- P hil

--
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] Revamping the Wiki

2009-08-12 Thread phil
Hey Cody,

Cody Dunne wrote:
 For those of you interested, you can see the current structure of the 
 wiki at: http://www.cs.umd.edu/~cdunne/files/BPCWikiStructure.png

gives me a 404: Page Not Found.

 I haven't heard from anyone interested meeting yet, but I'll still plan 
 on having it for anyone who wants to show up.

I really would like to throw in some work hours for the wiki. Maybe you
me and others that are willing to contribute can work on something like
a sitemap or structure, so that others can enhance it and know where
they can put their information into.

I guess you made something like this in your BPCWikiStructure file?

Why Office and PNG, lets made a wiki page (of course :-)

- P hil

--
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] Revamping the Wiki

2009-08-12 Thread Cody Dunne
You should be able to access it now. It was from 2/13/2009, so it may be 
a little off by now.

Cody

phil wrote:
 Hey Cody,
 
 Cody Dunne wrote:
 For those of you interested, you can see the current structure of the 
 wiki at: http://www.cs.umd.edu/~cdunne/files/BPCWikiStructure.png
 
 gives me a 404: Page Not Found.
 
 I haven't heard from anyone interested meeting yet, but I'll still plan 
 on having it for anyone who wants to show up.
 
 I really would like to throw in some work hours for the wiki. Maybe you
 me and others that are willing to contribute can work on something like
 a sitemap or structure, so that others can enhance it and know where
 they can put their information into.
 
 I guess you made something like this in your BPCWikiStructure file?
 
 Why Office and PNG, lets made a wiki page (of course :-)
 
 - P hil


--
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

2009-08-12 Thread Jeffrey J. Kosowsky
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

This will test user backuppc's ability to create and delete files in
the pc tree where it failed before.

--
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

Re: [BackupPC-users] 100,000+ errors in last nights backup

2009-08-12 Thread Jeffrey J. Kosowsky
Filipe Brandenburger wrote at about 14:40:34 -0400 on Wednesday, August 12, 
2009:
  Hi,
  
  On Wed, Aug 12, 2009 at 08:49, Steve Blackwellzep...@cfl.rr.com wrote:
   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?
  
  I used to have exactly this problem.
  
  I guess you changed TopDir in your config.pl file, right?
  
  Well, BackupPC 3.1.0 has a bug in that TopDir change will not affect
  the pool and cpool directories, so it will try to create a
  hardlink in /var/lib/BackupPC for a file in /media/disk, which are in
  different filesystems, so it fails.
  

Yes - I had suggested that the problem might be that the pool and pc
trees are not on the same filesystem.

--
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

2009-08-12 Thread Holger Parplies
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

(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?

 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

Is there such a thing as a precise race condition? If it always happened in
the same order, would it even be a 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.

Ah, but it's not just a couple of simple lines of Perl code. Note the
'compare' call in line 8 (File::Compare::compare, if you were wondering),
which will take an arbitrary amount of time (and lead to an arbitrary number
of page faults/task switches, depending only on the size of the files).

But the point really is that between lines *9 and 10* (unlink/link) nothing
significant happens (unless unlink() always leads to a task switch, which I
doubt). Even then, $rawFile continues to -f, and deleting a link and replacing
it with a new link to the same file should succeed any number of times. Only
if interrupted *between unlink and link*, the process *might* find upon being
rescheduled that the link() fails because another process has already created
the file again.

But all of that is really beside the point. Let's take a step back. Where are
we?

We're in BackupPC_link, not in BackupPC_dump. As the log file shows (XferLOG
for host steve), the backup is apparently run twice in parallel, leading to
the failed rename (only one backup can succeed to rename 'new' to '151',
though I'm not sure what will happen to the 'backups' file). The main log file
only indicates one instance of BackupPC_link being run though (and one
instance of BackupPC will never run more than one BackupPC_link command at the
same time in any case).

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 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 you might have copied them there at some point. If you umount /dev/sdd2,
what's below /media/disk? A cpool/ directory?

 You may also want to look at 

Re: [BackupPC-users] Switching from gzip to bzip2

2009-08-12 Thread Nate T
Ah - I missed that it was in the Archive-specific configuration section but
just noticed it. That makes sense.
Incidentally, the '-9' gzip takes a bit more CPU but isn't
substantially more effective. Since CPU isn't exactly lacking in this
case it is cranked to -9 just to
save any disk space possible since it's still not taxing the processors.

Nate


On Mon, Aug 10, 2009 at 1:07 PM, Filipe Brandenburger
filbran...@gmail.comwrote:

 Hi,

 On Sat, Aug 8, 2009 at 08:36, Nate Tnaterw...@gmail.com wrote:
  Will switching from gzip to bzip2 do bad things to the existing cpool?

 I don't think it's possible to switch to bzip2... BackupPC will use
 gzip-like compression, which is not exactly like gzip but similar to
 it.

 If you have spare CPU and want to compress harder, you can tune the
 compression level of backups in your config.pl, IIRC it's set to 3
 by default, you can use 6 (default for gzip) or 9 (stronger
 compression) or anything in between, those will use more CPU and
 compress better.

 AFAIK, the existing files in your cpool will not be recompressed, so
 until they are phased out (removed from the original machines) I don't
 think they will be replaced by a copy that is more compressed... I'm
 not aware of a script that goes through an existing cpool
 recompressing the files, but there might indeed be one that does that.

 HTH,
 Filipe


 --
 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/

--
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

2009-08-12 Thread Steve Blackwell
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
 

[BackupPC-users] Please remove me from this list

2009-08-12 Thread James Beam
Please remove me from this list
 

--
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

2009-08-12 Thread Adam Goryachev
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Holger Parplies wrote:
 We're in BackupPC_link, not in BackupPC_dump. As the log file shows (XferLOG
 for host steve), the backup is apparently run twice in parallel, leading to
 the failed rename (only one backup can succeed to rename 'new' to '151',
 though I'm not sure what will happen to the 'backups' file). The main log file
 only indicates one instance of BackupPC_link being run though (and one
 instance of BackupPC will never run more than one BackupPC_link command at the
 same time in any case).

I've frequently managed to cause two backuppc_dump's to run in parallel
where one was scheduled by backuppc and one was run manually by me from
the command line. It would be nice if backuppc_dump could do a simple
check to see if the new directory already exists, and if so, simple exit
(or error and exit).

Mainly I run backups manually so I can see exactly what is happening
during the backup and where/why it is failing or taking so long.
Sometimes I remember to use the gui to stop backups for that host for a
period of time, and again, sometimes that isn't long enough...

Regards,
Adam
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqDp74ACgkQGyoxogrTyiXEQwCgusv36QQNe2aDmeRhQSix7k9T
t8AAnjL/XfeZCeRruovoLvaISc2cLKpE
=zeTZ
-END PGP SIGNATURE-

--
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/