Re: [BackupPC-users] Excluding files
2008-05-03 12:54:09
On Fri, May 02, 2008 at 07:46:54AM +1000, Adam Goryachev wrote:
> > I'm currently using BackupPC to backup few of my servers. I'm only
> > having a problem with one of the server getting backed up. There's an
> > rsync process that's been running flat out for a long time. It seems
> > that BackupPC is trying to backup a directory of rapidly-changing files,
> > that should be excluded.
> >
> > Yesterday, I went to the config.pl and excluded all the possible files
> > that are rapidly changing like log files. today the backup was ran again
> > and the rsync process started running for a long time.
> >
> > What will be the best way to track down what is causing this process to
> > not stop?
>
> On the client machine being backed up, do a ps axf or similar and find
> the pid of the rsync process. Then do a "lsof -p $pid" and it will show
> the files that the rsync process has open. Generally the last one is the
> filename that is currently being transferred. Sometimes you only get
> libraries, but repeat the command over a few minutes and you should it.
To see the open files of a process, I usuallye use
ls -l /proc/$pid/fd
This doesn't show any libraries...
Tino.
--
„What we resist, persists.” (Zen saying)
www.craniosacralzentrum.de
www.forteego.de
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|