Hi,

I have BackupPC 3.0 configured and working but I sometimes get errors
which I think are due to the DumpPreUserCmd overlapping with tar.

I have:
$Conf{TarShareName} = [
  '/home',
  '/srv/www',
  '/usr/local'
];
$Conf{DumpPreUserCmd} = '/home/cpseg/scripts/precopy';


precopy gets a list of postgresql databases and dumps them all to a
specific directory so that they can get backedup

The error I get sometimes, not always is:

Executing DumpPreUserCmd: /home/cpseg/scripts/precopy
Running: /usr/bin/sudo /bin/tar -c -v -f - -C /home --totals --newer=2007-07-18 
00:00:00 --exclude=./servidor/.beagle --exclude=./servidor/winxp 
--exclude=./cpseg/COPIAS .
incr backup started back to 2007-07-18 00:00:00 (backup #64) for directory /home
Xfer PIDs are now 26602,26601
[ saltadas 255 lineas ]
/bin/tar: ./csadmin/canosoft/bbdd/atursa.sql: File shrank by 141771560 bytes; 
padding with zeros
[ saltadas 19 lineas ]
tarExtract: Done: 0 errors, 1 filesExist, 0 sizeExist, 0 sizeExistComp, 3 
filesTotal, 163014044 sizeTotal
[ saltadas 1 lineas ]
/bin/tar: Error exit delayed from previous errors
Tar exited with error 512 () status

I understand that the precopy script was dumping the atursa.sql database while 
tar was copying. Is this correct?

Thanks, Joe
TSolucio


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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