Re: [BackupPC-users] BackupPC_dump stalls and leave zombie process

2009-07-30 Thread Steve
Wondering if anything has had time to think about this question.  I am
still having the issue...
thanks,
Steve

On Thu, Jul 23, 2009 at 5:45 PM, Steve wrote:
> Hello,
>
> I am running Backuppc 3.1.0 with ubuntu 9.04 now, and since the
> upgrade I've developed a problem with backuppc. During full backups,
> the backup stalls and leaves a zombie.  The backup just sits (as shown
> below) until I kill the ssh process or restart backuppc.  I have not
> seen this problem with smb clients, and have not seen it with inc
> backups (although the incs take a lot less time so maybe it will
> happen sometime...), just the full with rsync.
> ---
> 32167 backuppc  25   5     0    0    0 Z    0  0.0   5:21.56
> BackupPC_dump 
> 32321 backuppc  25   5  7168 3600 1164 S    0  0.2   0:01.16 ssh
> 32587 backuppc  25   5 79768  73m 1220 S    0  3.7   2:31.20 BackupPC_dump
> 
>
> The status page says:
> -
> localhost        full    backuppc        7/23 12:00      BackupPC_dump 
> localhost
>         32167           32321, 32587
> 
>
> The computer doesn't crash or appear to have any problems, and if i
> watch the whole time memory usage never goes above 10-20% total.  When
> I kill the ssh process, the status page goes back to showing nothing,
> and a partial backup is left as shown below on the home page for the
> backup:
>
> --
> 848      partial         yes     0       7/23 00:12      112.8           0.5
> /home/backup/pc/localhost/848
> ---
>
> If I keep trying, eventually it makes it through the whole backup, as
> shown here:
>
> ---
> 848      full    yes     0       7/23 15:04      152.4           0.1
> /home/backup/pc/localhost/848
> -
>
> Since the backup eventually completes, and sometimes has to only be
> restarted once or twice while other times 6 or 7 times, I can't figure
> out where to start debugging.  It is reproducible in that I haven't
> had a successful full backup without at least one restart since the
> upgrade.
>
> If some of you have some theories, I will be happy to capture
> additional info about what is going on when this happens...I am not
> sure offhand what info/logs/files would be important.  It does not
> seem like a hardware problem to me.  The log itself ends like this:
> 
> same     764   506/500       49664
> home/common/LabView/Gas_Swirl_Process_Control/flame_frf/dyn_data/WriteData2/WriteData2.opt
> Parent read EOF from child: fatal error!
> Done: 0 files, 0 bytes
> Got fatal error during xfer (Child exited prematurely)
> Backup aborted (Child exited prematurely)
> Not saving this as a partial backup since it has fewer files than the
> prior one (got 2 and 0 files versus 5)
> ---
> However i suspect that error is from me killing the ssh not whatever
> caused things to stall.  i can't find any errors in the log when it is
> stalled but before i kill processes as backuppc seems to think things
> are running fine even though they have stalled out...
>
> I am wondering if there is some kind of timeout or permission or other
> default that has changed with ssh or rsync on the upgrade that is
> causing this...however since it works for increments and the transport
> is the same for those I don't see how it could be the case...
>
> Also, is there a difference when the process is started from the cgi
> interface vs. starting itself on schedule?  When it succeeds it has
> always been after one or more restarts from the cgi...
>
> anyway thanks, looking forward to hearing ideas from you guys on where to 
> look.
>
> Steve
>



-- 
"It turns out there is considerable overlap between the smartest bears
and the dumbest tourists."

--
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_dump stalls and leave zombie process

2009-07-30 Thread Filipe Brandenburger
Hi,

On Thu, Jul 30, 2009 at 13:39, Steve wrote:
> Wondering if anything has had time to think about this question.  I am
> still having the issue...

I don't know about stalling, but leaving zombie processes is something
"normal". As far as I can tell, it happens when you dump multiple
directories or drives from the same machine. BackupPC_dump will fork
one process to dump the first directory, then one process to dump the
second one, and so on, but it will "reap" the children processes all
at once at the end. I don't know if this happens with "rsync" only
(that's how I use it and see it here) or with the other xfer methods
("tar", "smb") as well...

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] BackupPC_dump stalls and leave zombie process

2009-07-30 Thread Steve
> I don't know about stalling, but leaving zombie processes is something
> "normal". As far as I can tell, it happens when you dump multiple
> directories or drives from the same machine. BackupPC_dump will fork
> one process to dump the first directory, then one process to dump the
> second one, and so on, but it will "reap" the children processes all
> at once at the end. I don't know if this happens with "rsync" only
> (that's how I use it and see it here) or with the other xfer methods
> ("tar", "smb") as well...

I guess I don't care about the zombie, but since the backup never
"completes" something is obviously amiss.  I suspect that once
"complete" maybe TrashClean or something clears away the leftover
processes; there are never zombies after a successful inc or full
backup, only when one hangs...

Maybe the zombie isn't the problem put some parent process never
realizing the subtasks are complete.

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] Restore issues

2009-07-30 Thread Matthias Meyer
Vetch wrote:

> Hi Matthias,
> All my xferlogs say they have 0 errors (apart from one, but that was after
> the problem occurred anyway)...
> I've had a look at them, but they are... quite long...
> Without knowing what to search for, I'm not sure what I can do with
> them... If they report no errors, I guess I can assume all files are
> backing up properly?
> Xfer Error Summary
> 
> 
> Backup# Type View #Xfer errs #bad files #bad share #tar errs
> 0 full XferLOG, Errors 0 0 0 0
> 28 full XferLOG, Errors 0 0 0 0
> 56 full XferLOG, Errors 0 0 0 0
> 84 full XferLOG, Errors 0 0 0 0
> 112 full XferLOG, Errors 0 0 0 0
> 126 full XferLOG, Errors 0 0 0 0
> 133 full XferLOG, Errors 0 0 0 0
> 140 full XferLOG, Errors 0 0 0 0
> 147 full XferLOG, Errors 0 0 0 0
> 150 incr XferLOG, Errors 0 0 0 0
> 151 incr XferLOG, Errors 0 0 0 0
> 152 incr XferLOG, Errors 0 0 0 0
> 153 full XferLOG, Errors 1 0 0 0
> 154 incr XferLOG, Errors 0 0 0 0
> 155 incr XferLOG, Errors 0 0 0 0
> 156 incr XferLOG, Errors 0 0 0 0
> 
> Thanks,
> Jx

That is unbelievable.
You backup a windows client, right?
There should be a lot of files which can not be backuped because they are in
use.
Do you use volume shadow copies in windows?

But nevertheless, you have backups of all files specified in your
configuration.
If you check your backup include/exclude configuration you should find which
files are not backuped.

br
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] Restore issues

2009-07-30 Thread Jeffrey J. Kosowsky
Matthias Meyer wrote at about 21:00:54 +0200 on Thursday, July 30, 2009:
 > Vetch wrote:
 > 
 > > Hi Matthias,
 > > All my xferlogs say they have 0 errors (apart from one, but that was after
 > > the problem occurred anyway)...
 > > I've had a look at them, but they are... quite long...
 > > Without knowing what to search for, I'm not sure what I can do with
 > > them... If they report no errors, I guess I can assume all files are
 > > backing up properly?
 > > Xfer Error Summary
 > > 
 > > 
 > > Backup# Type View #Xfer errs #bad files #bad share #tar errs
 > > 0 full XferLOG, Errors 0 0 0 0
 > > 28 full XferLOG, Errors 0 0 0 0
 > > 56 full XferLOG, Errors 0 0 0 0
 > > 84 full XferLOG, Errors 0 0 0 0
 > > 112 full XferLOG, Errors 0 0 0 0
 > > 126 full XferLOG, Errors 0 0 0 0
 > > 133 full XferLOG, Errors 0 0 0 0
 > > 140 full XferLOG, Errors 0 0 0 0
 > > 147 full XferLOG, Errors 0 0 0 0
 > > 150 incr XferLOG, Errors 0 0 0 0
 > > 151 incr XferLOG, Errors 0 0 0 0
 > > 152 incr XferLOG, Errors 0 0 0 0
 > > 153 full XferLOG, Errors 1 0 0 0
 > > 154 incr XferLOG, Errors 0 0 0 0
 > > 155 incr XferLOG, Errors 0 0 0 0
 > > 156 incr XferLOG, Errors 0 0 0 0
 > > 
 > > Thanks,
 > > Jx
 > 
 > That is unbelievable.
 > You backup a windows client, right?
 > There should be a lot of files which can not be backuped because they are in
 > use.
 > Do you use volume shadow copies in windows?

Alternatively, you could just exclude the files that tend to be
busy. Before I wrote my volume shadow copy script, I had a short list
of excludes that eliminated all busy files.

 > 
 > But nevertheless, you have backups of all files specified in your
 > configuration.
 > If you check your backup include/exclude configuration you should find which
 > files are not backuped.
 > 
 > br
 > 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/
 > 

--
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] restauration directe avec backuppc

2009-07-30 Thread vicky77plus

bonjour:
je viens d'installé backuppc sur mon pc(debian) et tous ce deroule comme il 
faut,mais je comprend pas la signification des parametres lorsque je voulais 
faire une sauvegarde à partir de la ligne de commande.le fichier de 
restauration est comme suit:
%RestoreReq = (
'fileList' => [
'/172.17.2.203.pl',
'/lien~',
'/pdf2worddemofr.exe',
'/presentation.pdf',
'/rapport.pdf'
  ],
  'shareDest' => 'folder',
  'pathHdrDest' => '/',
  'num' => '3',
  'reqTime'=> 1248940328,
  'shareSrc' => 'folder',
  'pathHdrSrc' => '/',
  'hostDest' => '172.17.3.11',
  'hostSrc' => '172.17.3.11',
  'user' => 'backuppc'
);
donc je veux savoir la signification de ces parametre et surtout "reqtime"
merci d'avance pour tous vos réponsesjavascript:emoticon('[Laughing]')

+--
|This was sent by vicky77p...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.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] Best practices for client-side unix user

2009-07-30 Thread Max

Hi,

I run BackupPC on ServerA, using the rsync method to get data from ClientA. 
(pretty conventional).

If I want to perform a full backup of ClientA (all files, in all directories), 
what would be the best-pratices for getting the ssh/rsync user to read all that 
data?

- Using root ? (probably not)
- Creating a user that can read everything ? If so, how do you do that ?

FYI: ClientA is Debian.

Thanks,
Max

+--
|This was sent by maxime.pla...@gmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.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/


Re: [BackupPC-users] Best practices for client-side unix user

2009-07-30 Thread Mark Maciolek
hi,

I create user rsyncbackup and add to sudoers file.

rsyncbackup ALL=NOPASSWD: /usr/bin/rsync


Must also edit the RsyncClientCmd & RysncClientRestoreCmd

$sshPath -q -x -l rsyncbackup $host /usr/bin/sudo $rsyncPath $argList+

also user will still need authorized_keys file for ssh with no password 
access from server to client.

Mark

Max wrote:
> Hi,
> 
> I run BackupPC on ServerA, using the rsync method to get data from ClientA. 
> (pretty conventional).
> 
> If I want to perform a full backup of ClientA (all files, in all 
> directories), what would be the best-pratices for getting the ssh/rsync user 
> to read all that data?
> 
> - Using root ? (probably not)
> - Creating a user that can read everything ? If so, how do you do that ?
> 
> FYI: ClientA is Debian.
> 
> Thanks,
> Max
> 
> +--
> |This was sent by maxime.pla...@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.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/
> 

-- 
-
Mark Maciolek   Network Administrator
m...@sr.unh.edu  Morse Hall Room 339
University of New Hampshire862-3050
-

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