[Bug 514802] [NEW] exclude_file ignored when exclude is used
resplin
richard-oss at esplins.org
Sat Jan 30 18:16:19 UTC 2010
Public bug reported:
Binary package hint: rsnapshot
System: Ubuntu Karmic 9.10
Version: 1.3.0-2
Environment
-----------
I have an exclude file that contains a list of file types that I want to
exclude from backup. For one of my backup paths, I also list a subdirectory
to exclude.
Here are the relevant parts of my rsnapshot.conf:
exclude_file /etc/rsnapshot/exclude
backup /home/myuser mylaptop/ exclude=NoBak
backup /home/otheruser mylaptop/
Here is the relevant line from the exclude file:
/**/*.vdi
Expected Behavior
-----------------
I would expect .vdi files to be excluded from all backup paths, and the
NoBak
directory to be excluded in /home/myuser.
Observed Behavior
-----------------
Though the NoBak subdirectory in /home/myuser is excluded from the backup,
.vdi files are being included. However, .vdi files in /home/otheruser are
not being included.
Other Information
-----------------
rsync behaves appropriately when it is handed both a --exclude and
--exclude-from flag.
I quickly went through the exclude and exclude_file areas of the rsnapshot
Perl script, and the error was not obvious to me. It seemed like the rsync
command line was being built correctly with the ".=" operator.
** Affects: rsnapshot (Ubuntu)
Importance: Undecided
Status: New
** Bug watch added: SourceForge.net Tracker #2942861
http://sourceforge.net/support/tracker.php?aid=2942861
--
exclude_file ignored when exclude is used
https://bugs.launchpad.net/bugs/514802
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list