BackupPC-users

[BackupPC-users] issues with backuppc

2009-02-26 12:12:19
Subject: [BackupPC-users] issues with backuppc
From: Xavier Martin <xavier.martin AT enovance DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 26 Feb 2009 18:08:37 +0100
Hello,

I'm facing 2 differents issues with BackupPC :

*) Locking

Transfer is done using rsync+ssh, I've a task that started at 4am and was stuck (backup still processing but no activity on disk)
I was forced to kill rsync process manually, DumpPostUserCmd was called then.

Here's the list of process that was running :
backuppc   521  0.0  0.0   5556  3196 ?        S    04:51   0:05 /usr/bin/ssh -q -x -l root remote /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive . /home/snap/something/
root       524  0.0  0.0   5104  2720 ?        Ss   04:51   0:18 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive . /home/snap/something/
backuppc   525  8.3  1.9 334108 331164 ?       S    04:51  40:02 /usr/bin/perl /usr/share/backuppc/bin/BackupPC_dump something

Strace on rsync : it was waiting like select(1, ...)
This problem occured twice since i'm using BackupPC (july 2008), which is handling 18 hosts (Pool Size = 42 GB).


*) BackupPC doesn't worked correctly on one host
Existing Files New Files
Backup# Type Comp Level Size/MB Comp/MB Comp Size/MB Comp/MB Comp
72 full 3 21171.9 12557.7 40.7% 721.4 152.4 78.9%
79 full 3 22718.2 13552.4 40.3% 799.2 161.5 79.8%
84 incr 3 764.0 389.4 49.0% 939.7 250.2 73.4%
85 incr 3 2702.0 1483.6 45.1% 2011.5 912.3 54.6%
86 full 3 24829.1 14508.4 41.6% 0.0

87 incr 3 21008.1 11949.4 43.1% 717.4 150.9 79.0%
88 incr 3 21096.4 12011.7 43.1% 790.2 185.1 76.6%
89 incr 3 21125.3 12024.3 43.1% 948.1 267.5 71.8%
90 incr 3 21042.7 11980.6 43.1% 842.8 188.1 77.7%

#86 was supposed to be a full backup but when browsing I found out that it's missing a lot of directory ( /bin /home ...)

size of backup# on disk
2,8G 86
9,3G 87
9,4G 88

Moreover, when trying to read logfile, to found out anything : file XferLog seems corrupted

# /usr/share/backuppc/bin/BackupPC_zcat XferLOG.86.z
/usr/share/backuppc/bin/BackupPC_zcat: can't uncompress XferLOG.86.z

# hexdump -C XferLOG.86.z | head -n5
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
006b1970  77 52 2f 25 4f 82 cf bc  a3 61 3f 85 2d 92 77 e7  |wR/%O....a?.-.w.|
006b1980  4d cd 60 fd ef 9e 04 7f  ff ec ce fc 3b f5 cd 7c  |M.`.........;..||
006b1990  9a c1 82 3d 09 c2 37 ba  7b 27 af fa a2 ff 7a 02  |...=..7.{'....z.|

BackupPC version is 3.1.0 (from Debian etch/backports 3.1.0-2~bpo40+1).


The last one isn't really directly related to BackupPC :
* I'm using LVM2 to make snapshot of ext3 device and then mount it (read-only) : this is done in DumpPreUserCmd .
* when backup completed, it's unmounted and snapshot is removed in DumpPostUserCmd

Time to time, when mounting snapshot, I'm having issue in syslog :
EXT3-fs: dm-34: orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 65456043
...
ext3_orphan_cleanup: deleting unreferenced inode 65456045
EXT3-fs: dm-34: 11 orphan inodes deleted
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.

Is this a correct behaviour ?



Thanks,


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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/
<Prev in Thread] Current Thread [Next in Thread>
  • [BackupPC-users] issues with backuppc, Xavier Martin <=