Your message dated Mon, 10 Jan 2022 14:33:13 +0000
with message-id <[email protected]>
and subject line Bug#1003410: Removed package(s) from unstable
has caused the Debian Bug report #428584,
regarding flexbackup: allow users to exclude directories from backup with 
.nobackup files
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
428584: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428584
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: flexbackup
Version: 1.2.1-5
Severity: wishlist
Tags: patch

I would like to be able to exclude certain directories from flexbackup's
backup process, without having to edit the configuration file.  In
particular, I want my users to be able to specify directories that
should not be backed up (such as project build directories and the like)
without administrative intervention.

I have implemented one means of doing this, by way of including a
.nobackup file in the directory to exclude.  A patch is pasted in below.
Note that it does not work on remote filesystems because I do not use
them.  Note also that it takes an additional short period of time to
execute because it uses a separate find(1) call to locate files named
.nobackup.

I hope that this is useful.

*** /usr/bin/flexbackup 2006-09-23 17:09:52.000000000 -0400
--- /usr/local/bin/flexbackup   2007-05-23 21:43:11.000000000 -0400
***************
*** 4863,4868 ****
--- 4863,4876 ----
        $prunekey = $dir;
      }

+     my @nobackup = ();
+     if (!defined($remote)) {  # TODO: allow this on remote filesystems
+         @nobackup = split(/\n/, `cd $dir && $cmd -name .nobackup | sed
-e 's/^\\.\\/\\(.*\\)\\/\\.nobackup\$/\\1/'`);
+         for my $nobackup (@nobackup) {
+             $::prune{$prunekey}{$nobackup} = 1;
+         }
+     }
+
      if (defined(%{$::prune{$prunekey}})) {
        # FreeBSD needs -E (above) and no backslashes around the (|)
        # chars
        if ($::uname =~ /FreeBSD/) {

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages flexbackup depends on:
ii  cpio                          2.6-17     GNU cpio -- a program to manage ar
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

Versions of packages flexbackup recommends:
ii  afio                          2.5-4      archive file manipulation program
ii  binutils                      2.17-3     The GNU assembler, linker and bina
pn  buffer                        <none>     (no description available)
ii  rsync                         2.6.9-2    fast remote file copy program (lik
ii  sharutils                     1:4.2.1-15 shar, unshar, uuencode, uudecode
ii  zip                           2.32-1     Archiver for .zip files

-- no debconf information


--- End Message ---
--- Begin Message ---
Version: 1.2.1-6.5+rm

Dear submitter,

as the package flexbackup has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1003410

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to