Package: dirvish
Version: 1.2.1-1
Severity: normal

To backup remote hosts, I don't use dirvish to rsync the remote files
directly. Instead I let the remote host push the files by himself on the
backup server.

Then I use dirvish to rotate the backups locally. This works quite well.
My bank is /backup/ and I have a the directory /backup/staging/ where I
upload the backup of remote.

/backup/staging/* are then rotated in various vaults /backup/<vault>/
(none of the vault are named staging obviously).

Now it happens that one of the backups contains a summary file and thus
the recursive find done by dirvish-expire finds a summary file below
/backup/staging/ (which is not supposed to be a vault) and of course
fails with a strange message like this one:
cannot open config file: ouaza.com/folders/INBOX/summary

IMO, dirvish-expire should be more intelligent and find the list of
vaults by a simple lookup of <bank>/*/dirvish/. And it should only look
for summary files in real vaults.

Alyternatively, it shouldn't fail on invalid summary files but only generate a
warning and skip it.

-- System Information:
Debian Release: 4.0
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-xen-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages dirvish depends on:
ii  libtime-modules-perl         2003.1126-2 Various Perl modules for time/date
ii  libtime-period-perl          1.20-8      Perl library for testing if a time
ii  perl                         5.8.8-7     Larry Wall's Practical Extraction 
ii  perl-modules                 5.8.8-7     Core Perl modules
ii  rsync                        2.6.9-2     fast remote file copy program (lik

Versions of packages dirvish recommends:
ii  ssh                           1:4.3p2-9  Secure shell client and server (tr

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to