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

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

[rdiff-backup-users] include-exclude and backing up over network


From: Veiko Kukk
Subject: [rdiff-backup-users] include-exclude and backing up over network
Date: Thu, 21 Aug 2008 08:33:48 +0300
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

Hi!

I'v been trying to get this working for half a day, but whatever I try,
I get some error message.

I want to back up some subdirectories from client machine directory
/home/user to server. I need to do it from server and for that purpose I
created separate backupuser on client machine and gave it rights to the
/home/user subdirectories I want to back up.

rdiff-backup version is 1.2.0, client is Ubuntu 8.04 and server is
CentOS 5.2, on both machines I compiled rdiff-backup by myself.

# rdiff-backup -v5 --exclude /home/user --include /home/user/Documents
--include /home/user/.mozilla-thunderbird address@hidden::/home/user
/some/directory/on/server

And then I get following error:

Fatal Error: Last selection expression:
   Command-line include glob: /home/user/.mozilla-thunderbird
only specifies that files be included.  Because the default is to
include all files, the expression is redundant.  Exiting because this
probably isn't what you meant.
Sending back exception 1 of type <type 'exceptions.SystemExit'>:
 File
"/usr/local/lib/python2.5/site-packages/rdiff_backup/connection.py",
line 335, in answer_request
   result = apply(eval(request.function_string), argument_list)
 File "/usr/local/lib/python2.5/site-packages/rdiff_backup/backup.py",
line 70, in set_source_select
   sel.ParseArgs(tuplelist, filelists)
 File
"/usr/local/lib/python2.5/site-packages/rdiff_backup/selection.py", line
287, in ParseArgs
   self.parse_last_excludes()
 File
"/usr/local/lib/python2.5/site-packages/rdiff_backup/selection.py", line
321, in parse_last_excludes
   (self.selection_functions[-1].name,))
 File "/usr/local/lib/python2.5/site-packages/rdiff_backup/log.py",
line 163, in FatalError
   sys.exit(errlevel)

Fatal Error: Lost connection to the remote system

What is it I'm doing wrong?




reply via email to

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