← Back to team overview

nssbackup-team team mailing list archive

[Bug 675298] [NEW] sbackup doesn't honor regex excludes on full backup

 

Public bug reported:

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/"
".+/\.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
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic-pae 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic-pae i686
NonfreeKernelModules: nvidia wl
Architecture: i386
Date: Sun Nov 14 15:25:38 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.1)
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: sbackup

** Affects: sbackup (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
sbackup doesn't honor regex excludes on full backup
https://bugs.launchpad.net/bugs/675298
You received this bug notification because you are a member of Simple
Backup Maintainers, which is subscribed to sbackup in ubuntu.



Follow ups

References