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

[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
    '**/*.mp3'
cannot match any files in the base directory
    '/home/myself'
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 318, in
Main
    take_action(rps)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 272, in
take_action
    connection.PipeConnection(sys.stdin, sys.stdout).Server()
  File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py", line 355,
in Server
    self.get_response(-1)
  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,

remi




reply via email to

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