BackupPC-users

[BackupPC-users] why are excludes sent to rsync when none are present in the config file?

2011-09-18 22:30:34
Subject: [BackupPC-users] why are excludes sent to rsync when none are present in the config file?
From: Adam Monsen <haircut AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sun, 18 Sep 2011 19:29:00 -0700
Anyone know why excludes might be sent to rsync when none are
specified in my config file?

BackupFilesOnly has one key, '*', pointing to an array with several
values (/etc, /home, /opt/backup/stage/*/active,
/opt/backup/stage/other, and a few more). BackupFilesExclude is set to {}.

But in the XferLOG, I see

  incr backup started back to 2011-09-18 15:00:01 (backup #730) for
directory /
  Running: /usr/bin/ssh -q -x -c blowfish-cbc,aes128-cbc,3des-cbc -l
root localhost /usr/bin/rsync --server --sender --numeric-ids --perms
--owner --group -D --links --hard-links --times --block-size=2048
--recursive --checksum-seed=32761 . /
  Xfer PIDs are now 28478
  Got remote protocol 30
  Negotiated protocol version 28
  Checksum caching enabled (checksumSeed = 32761)
  Sent include: /etc
  Sent include: /home
  Sent include: /opt
  Sent include: /opt/backup
  Sent include: /opt/backup/stage
  Sent include: /opt/backup/stage/*
  Sent include: /opt/backup/stage/*/active
  Sent include: /opt/backup/stage/other
  ...

and so on, then a bunch of excludes, like:

  Sent exclude: /*
  Sent exclude: /opt/*
  Sent exclude: /opt/backup/*
  Sent exclude: /opt/backup/stage/*
  Sent exclude: /opt/backup/stage/*/*
  Sent exclude: /home/*
  Sent exclude: /home/*/*
  ...
  Xfer PIDs are now 28478,28561

Are these excludes expected?

A directory I want to be backed up is not: /opt/backup/stage/other.
It does show up (as a directory) when I browse a backup, but it is
empty in the backup (while on the backed-up disk there are many
subdirectories and files). I just discovered this problem when I was
trying to restore a file in /opt/backup/stage/other.

AHA, adding the following entry to BackupFilesOnly '*' worked:

  /opt/backup/stage/other/*

Now that directory is backed up. But I don't understand why. :)

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
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/