[Top][All Lists]

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

[rdiff-backup-users] exclude questions

From: remi . delmas . 3000
Subject: [rdiff-backup-users] exclude questions
Date: Thu, 05 Apr 2007 17:53:08 +0200
User-agent: Internet Messaging Program (IMP) 3.2.5

Hi everybody!

I'm having a hard time using the exclude/include options. (I'm running
rdiff-backup 1.1.7 with the fsync patch under cygwin)

I want to backup a directory which can sometimes contain *.obj, core, or *.mp3
files that should not be backed up.

So I tried rdiff-backup --exclude **/*.mp3 --exclude **/*.obj --exclude **/core
/home/myself /backup

This works fine when there are actually mp3 and obj files in the source
directory, but rdiff-backup exits in error when there are no such files:

Fatal Error: Fatal Error: The file specification
cannot match any files in the base directory
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 318, in
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 272, in
    connection.PipeConnection(sys.stdin, sys.stdout).Server()
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 355,
in Server
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 315,
in get_response
    try: req_num, object = self._get()
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 233,
in _get
    raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string (problem
probably originated remotely)
receiving file list ... done

Is there a way to have rdiff-backup get over this type of situations without
exiting in error?

Thanks for any help you can bring me,


reply via email to

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