Hi Craig,

El mié, 25-07-2007 a las 23:29 -0700, Craig Barratt escribió:
> Joe writes:
> 
> > No, there is no other process writing these files.
> > I launch the precopy script at prompt and it doesn't return control
> > until the whole process is finished, so no backgrounding there.
> > The only idea I can think of is:
> > 
> > - precopy is launched for /home and finishes
> > - tar backup starts for /home
> > - precopy is launched for /srv/www in parallel with tar backup
of /home
> 
> That still shouldn't cause the problem because the backup
> is running on one file system while the writing of the
> precopy script is happening on the other.
> 

The way the precopy script works is that it dumps all the database to a
directory in the /home partition. This directory is then backedup.
So if the precopy script launches for /home, finishes
tar starts for /home
precopy for /srv/www starts in parallel with tar /home

That is when I get the problem. That is why it isn't always there, it
depends on the speed of the tar/database dump

Is this what is happening?
If so I could add and if statement to precopy to only dump the database
for /home. Is that correct?

In this same line I suppose that postcopy will also get executed for
each share.

Thanks, Joe
TSolucio


> Perhaps you should run a diagnostic script that sits in a
> loop doing something like:
> 
>     ls -l /home/csadmin/canosoft/bbdd/atursa.sql
>     ps auxww
>     lsof
> 
> while the backup is running.  That will allow you to see when
> the file size changes and which process is writing to it.
> 
> > BTW: Congratulations, I think you are doing an incredible job with
the
> > product and your work on this list. 
> 
> Thanks.  Many people contribute to the list and the project too.
> 
> Craig
> 

PD: Sorry for sending only to you before. I didn't notice.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to