sbackup doesn't honor regex excludes on full backup
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
sbackup | Status tracked in Trunk | |||||
0.10 |
Fix Committed
|
Low
|
Unassigned | |||
Trunk |
Invalid
|
Undecided
|
Unassigned | |||
sbackup (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: sbackup
System: On Ubuntu 10.04 (although the problem appears to exist at least as far back as Ubuntu 8.04).
Package Version: 0.10.5ubuntu2.1
Expected Behavior:
I was attempting to use regular expression "excludes" to prevent .git and .svn folders from being included in backups. I tried multiple formats of the regular expressions, such as:
"/home/
".+/\.git/"
and then executed "Backup Now!". The expectation is that the files.tgz would not include any files within these directories.
What Occured:
The files.tgz in the '-ful' backup directory contained files that should have been excluded.
Possible Patch:
It appears that when a full backup occurs, the exclude regex is not applied. The attached patch resolves the issue to my satisfaction.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: sbackup 0.10.5ubuntu2.1
ProcVersionSign
Uname: Linux 2.6.32-
NonfreeKernelMo
Architecture: i386
Date: Sun Nov 14 15:25:38 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
PackageArchitec
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: sbackup
tags: | added: patch |
Thank you for choosing sbackup and reporting this issue. I'll apply your patch to sbackup series 0.10. Thanks for your help.