Package: backuppc
Version: 3.1.0-1~bpo40+1
Severity: normal
Hello,
We use BackupPC for quite a few years, and recently we upgraded from
version 2.x to 3.x. Now I noticed that we backup useless stuff like
/tmp, /var/spool/squid, which we did not backup before.
We backup with rsync (over ssh) and put excludes into
$Conf{RsyncArgs} = [
... (default options) ...
'--one-file-system',
'--exclude=/var/spool/squid/',
'--exclude=/spool/squid/',
'--exclude=/tmp/',
'--exclude=*.mp3',
'--exclude=*.ogg',
'--exclude=*.avi',
'--exclude=*.mpg',
... (more excludes)...
];
We do not use $Conf{BackupFilesExclude} = {}; option.
I noticed that things in /var/tmp and /var/spool/squid are backed up. And
interestingly only in incremental backups, while full backups are OK
(excludes work as expected only in full dump). Here is example of
XferLog (errors only) for full dump:
Contents of file /var/lib/backuppc/pc/host.example.com/XferLOG.186.z,
modified 2008-09-19 20:17:46 (Extracting only Errors)
full backup started for directory / (baseline backup #185)
Running: /usr/bin/ssh -q -x -l backup host.example.com sudo /usr/bin/rsync
--server --sender --numeric-ids --perms --owner --group -D --links
--hard-links --times --block-size=2048 --recursive --checksum-seed=32761
--one-file-system --ignore-times . /
Xfer PIDs are now 16457
Got remote protocol 29
Negotiated protocol version 28
Checksum caching enabled (checksumSeed = 32761)
Sent exclude: /var/spool/squid
Sent exclude: /spool/squid
Sent exclude: /tmp
Sent exclude: *.mp3
Sent exclude: *.ogg
Sent exclude: *.avi
Sent exclude: *.mpg
Sent exclude: *.mpeg
Sent exclude: *.iso
Sent exclude: *.rm
Sent exclude: *.ram
Sent exclude: *.viv
Sent exclude: *.wma
Sent exclude: *.wmv
Sent exclude: *.dv
Sent exclude: sess_*
Xfer PIDs are now 16457,16471
[ skipped 24959 lines ]
Done: 22635 files, 516888277 bytes
full backup started for directory /var (baseline backup #185)
Running: /usr/bin/ssh -q -x -l backup host.example.com sudo /usr/bin/rsync
--server --sender --numeric-ids --perms --owner --group -D --links
--hard-links --times --block-size=2048 --recursive --checksum-seed=32761
--one-file-system --ignore-times . /var/
Xfer PIDs are now 22136
Got remote protocol 29
Negotiated protocol version 28
Checksum caching enabled (checksumSeed = 32761)
Sent exclude: /var/spool/squid
Sent exclude: /spool/squid
Sent exclude: /tmp
Sent exclude: *.mp3
Sent exclude: *.ogg
Sent exclude: *.avi
Sent exclude: *.mpg
Sent exclude: *.mpeg
Sent exclude: *.iso
Sent exclude: *.rm
Sent exclude: *.ram
Sent exclude: *.viv
Sent exclude: *.wma
Sent exclude: *.wmv
Sent exclude: *.dv
Sent exclude: sess_*
Xfer PIDs are now 22136,22137
[ skipped 2178 lines ]
Done: 2054 files, 406837130 bytes
full backup started for directory /home (baseline backup #185)
Running: /usr/bin/ssh -q -x -l backup host.example.com sudo /usr/bin/rsync
--server --sender --numeric-ids --perms --owner --group -D --links
--hard-links --times --block-size=2048 --recursive --checksum-seed=32761
--one-file-system --ignore-times . /home/
Xfer PIDs are now 22677
Got remote protocol 29
Negotiated protocol version 28
Checksum caching enabled (checksumSeed = 32761)
Sent exclude: /var/spool/squid
Sent exclude: /spool/squid
Sent exclude: /tmp
Sent exclude: *.mp3
Sent exclude: *.ogg
Sent exclude: *.avi
Sent exclude: *.mpg
Sent exclude: *.mpeg
Sent exclude: *.iso
Sent exclude: *.rm
Sent exclude: *.ram
Sent exclude: *.viv
Sent exclude: *.wma
Sent exclude: *.wmv
Sent exclude: *.dv
Sent exclude: sess_*
Xfer PIDs are now 22677,22678
[ skipped 8549 lines ]
Done: 8025 files, 1257119759 bytes
------------------------------------------
However log for Incremental dump has Sent exclude: lines only for the
first partition, and not the others. See here:
------------------------------------------
Contents of file /var/lib/backuppc/pc/host.example.com/XferLOG.188.z,
modified 2008-09-24 00:10:06 (Extracting only Errors)
incr backup started back to 2008-09-19 18:55:07 (backup #186) for
directory /
Running: /usr/bin/ssh -q -x -l backup host.example.com sudo /usr/bin/rsync
--server --sender --numeric-ids --perms --owner --group -D --links
--hard-links --times --block-size=2048 --recursive --checksum-seed=32761
--one-file-system . /
Xfer PIDs are now 22541
Got remote protocol 29
Negotiated protocol version 28
Checksum caching enabled (checksumSeed = 32761)
Sent exclude: /var/spool/squid
Sent exclude: /spool/squid
Sent exclude: /tmp
Sent exclude: *.mp3
Sent exclude: *.ogg
Sent exclude: *.avi
Sent exclude: *.mpg
Sent exclude: *.mpeg
Sent exclude: *.iso
Sent exclude: *.rm
Sent exclude: *.ram
Sent exclude: *.viv
Sent exclude: *.wma
Sent exclude: *.wmv
Sent exclude: *.dv
Sent exclude: sess_*
Xfer PIDs are now 22541,22543
[ skipped 2328 lines ]
Done: 4 files, 13104 bytes
incr backup started back to 2008-09-19 18:55:07 (backup #186) for
directory /var
Running: /usr/bin/ssh -q -x -l backup host.example.com sudo /usr/bin/rsync
--server --sender --numeric-ids --perms --owner --group -D --links
--hard-links --times --block-size=2048 --recursive --checksum-seed=32761
--one-file-system . /var/
Xfer PIDs are now 23146
Got remote protocol 29
Negotiated protocol version 28
Checksum caching enabled (checksumSeed = 32761)
Xfer PIDs are now 23146,23153
[ skipped 68084 lines ]
Done: 63828 files, 886051809 bytes
incr backup started back to 2008-09-19 18:55:07 (backup #186) for
directory /home
Running: /usr/bin/ssh -q -x -l backup host.example.com sudo /usr/bin/rsync
--server --sender --numeric-ids --perms --owner --group -D --links
--hard-links --times --block-size=2048 --recursive --checksum-seed=32761
--one-file-system . /home/
Xfer PIDs are now 1574
Got remote protocol 29
Negotiated protocol version 28
Checksum caching enabled (checksumSeed = 32761)
Xfer PIDs are now 1574,1575
[ skipped 1189 lines ]
Done: 511 files, 425024623 bytes
-------------------------------------------------
Please report this upstream. If you need more information I'll try to do
my best to hlep you debugging this bug.
Vladislav Kurz
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable'), (60, 'testing'), (30, 'unstable'), (1,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686-bigmem
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages backuppc depends on:
ii adduser 3.102 Add and remove users and groups
ii apache2 2.2.9-7 Apache HTTP Server metapackage
ii apache2-mpm-prefork [httpd] 2.2.9-7 Apache HTTP Server - traditional n
ii bzip2 1.0.3-6 high-quality block-sorting file co
ii debconf [debconf-2.0] 1.5.11etch2 Debian configuration management sy
ii dpkg 1.14.20 Debian package management system
ii libarchive-zip-perl 1.16-1 Module for manipulation of ZIP arc
ii libcompress-zlib-perl 2.011-1 Perl module for creation and manip
ii perl [libdigest-md5-perl] 5.10.0-11 Larry Wall's Practical Extraction
ii perl-suid 5.10.0-11 Runs setuid Perl scripts
ii samba-common 2:3.0.31-1 Samba common files used by both th
ii smbclient 2:3.0.31-1 a LanManager-like simple client fo
ii tar 1.16-2etch1 GNU tar
ii thttpd [httpd] 2.23beta1-5 tiny/turbo/throttling HTTP server
ii wwwconfig-common 0.0.48 Debian web auto configuration
Versions of packages backuppc recommends:
ii exim4 4.63-17 metapackage to ease exim MTA (v4)
ii exim4-daemon-light [mail- 4.63-17 lightweight exim MTA (v4) daemon
ii libfile-rsyncp-perl 0.68-1.1+b1 A perl based implementation of an
ii openssh-client [ssh-clien 1:4.3p2-9etch3 Secure shell client, an rlogin/rsh
ii rsync 2.6.9-2etch2 fast remote file copy program (lik
-- debconf information:
* backuppc/restart-webserver: true
* backuppc/configuration-note:
* backuppc/reconfigure-webserver: apache2
* backuppc/add-lines: true
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]