rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Re: exclude/include-globbing-filelist broken in rdi


From: Ben Escoto
Subject: [rdiff-backup-users] Re: exclude/include-globbing-filelist broken in rdiff-backup?
Date: Sat, 16 Nov 2002 19:09:10 -0800

>>>>> "CH" == Claus Herwig <address@hidden>
>>>>> wrote the following on Sun, 17 Nov 2002 00:12:38 +0100

  CH> But as always, users only write mails when something doesn't
  CH> work well ;-) I tried to use the
  CH> --(include|exclude)-globbing-filelist option with rdiff-backup
  CH> 0.11.0 (this option isn't present in version 0.10.1, is it?)
  CH> The only thing I got are two lines of errorcode (even with -v9)
  CH> immediately at start. It tells me: "Fatal Error: Error opening
  CH> file / Cleaning up"

Yes, a bug.  Try the attached patch.

  CH> Finally I've a little suggestion: Including/Excluding the files
  CH> for Backup looks very complicated, at least if you want to
  CH> backup selected files from your whole filesystem.  Why not
  CH> include a new option "-N" which should prevent rdiff-backup from
  CH> actually backing up/restoring anything - instead it should print
  CH> the name of every file it would backup/restore. So you can test
  CH> and tune your configuration without getting a mess of aborted
  CH> backups...

It's a good idea; a --dry-run parameter has been on my long-term todo
list for a while now.  Maybe some day...


-- 
Ben Escoto

--- Main.py~    Sat Oct  5 09:31:42 2002
+++ Main.py     Sat Nov 16 19:03:30 2002
@@ -43,11 +43,11 @@
                  "change-source-perms", "chars-to-quote=",
                  "checkpoint-interval=", "current-time=", "exclude=",
                  "exclude-device-files", "exclude-filelist=",
-                 "exclude-filelist-stdin", "exclude-globbing-filelist",
+                 "exclude-filelist-stdin", "exclude-globbing-filelist=",
                  "exclude-mirror=", "exclude-other-filesystems",
                  "exclude-regexp=", "exclude-special-files", "force",
                  "include=", "include-filelist=", "include-filelist-stdin",
-                 "include-globbing-filelist", "include-regexp=",
+                 "include-globbing-filelist=", "include-regexp=",
                  "list-increments", "mirror-only", "no-compression",
                  "no-compression-regexp=", "no-hard-links", "no-resume",
                  "null-separator", "parsable-output", "print-statistics",

Attachment: pgp1nuvfN_AyT.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]