I am using backuppc on ubuntu server recently upgraded to 14.04 LTS.
(backuppc version 3.3.0). Since this upgrade, Xfer usually notifies errors
with rsync transfers (md4 missmatch errors). There were no such errors
before.

This backups must execute a dump-post-user-cmd to delete database exports:

$Conf{DumpPostUserCmd} = '$sshPath -q -x -p 20907 -l Administrador $host
/cygdrive/g/backup/bin/delete_exports $xferOK';

---- Log with errors: ----
incr backup started back to 2014-07-02 01:30:01 (backup #4) for directory /
Running: /usr/bin/ssh -q -x -p 20907 -l Administrador srvsql /usr/bin/rsync
--server --sender --numeric-ids --perms --owner --group -D --links
--hard-links --times --block-size=2048 --recursive . /
Xfer PIDs are now 1400
Got remote protocol 30
Negotiated protocol version 28
Sent include: /cygdrive
Sent include: /cygdrive/g
Sent include: /cygdrive/g/backup
Sent exclude: /*
Sent exclude: /cygdrive/*
Sent exclude: /cygdrive/g/*
Xfer PIDs are now 1400,1401
  create d 755   500/513           0 .
  create d 555   500/513           0 cygdrive
  create d 755     18/18           0 cygdrive/g
  create d 755   500/513           0 cygdrive/g/backup
  create d 755   500/513           0 cygdrive/g/backup/bin
  create d 755   500/513           0 cygdrive/g/backup/exports
cygdrive/g/backup/exports/DAM816_backup_2014_07_02_230003_1018320.bak.gz:
md4 doesn't match: will retry in phase 1; file removed
  create   775   500/513   592383351
cygdrive/g/backup/exports/DAM_backup_2014_07_02_230003_0706320.bak.gz
  create   775   500/513     7332678
cygdrive/g/backup/exports/SPOT_DW_backup_2014_07_02_232003_4927404.bak.gz
  create   775   500/513    47137226
cygdrive/g/backup/exports/SPOT_backup_2014_07_02_232003_4771404.bak.gz
cygdrive/g/backup/exports/gemini_backup_2014_07_02_233003_5633944.bak.gz:
md4 doesn't match: will retry in phase 1; file removed
cygdrive/g/backup/exports/DAM816_backup_2014_07_02_230003_1018320.bak.gz:
fatal error: md4 doesn't match on retry; file removed
MD4 does't agree: fatal error on #8
(cygdrive/g/backup/exports/DAM816_backup_2014_07_02_230003_1018320.bak.gz)
cygdrive/g/backup/exports/gemini_backup_2014_07_02_233003_5633944.bak.gz:
fatal error: md4 doesn't match on retry; file removed
MD4 does't agree: fatal error on #12
(cygdrive/g/backup/exports/gemini_backup_2014_07_02_233003_5633944.bak.gz)
Done: 3 files, 646853255 bytes
Executing DumpPostUserCmd: /usr/bin/ssh -q -x -p 20907 -l Administrador
srvsql /cygdrive/g/backup/bin/delete_exports *1*
[..]
--------------------------

When transfer fails, $xferOK is equal to 1, not 0. ¿Why?

Thanks!
--
Adrián Ruiz
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
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/

Reply via email to