rsync syntax or usage error (code 1), returns 256

Bug #378388 reported by Henri De Veene
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Back In Time
Won't Fix
Low
Dan

Bug Description

OS: Ubuntu 9.04 64-bit
Python: 2.6.2
Gnome: 2.26.1

Creating a snapshot is not possible.

Console output:

----------------------------------------
INFO: Lock
INFO: Include folders: ['/home/henri', '/opt/lampp']
INFO: Ignore folders: []
INFO: Last snapshots: {}
INFO: [GnomePlugin.Systray.run]
INFO: [GnomePlugin.Systray.run] begin loop
INFO: Call rsync to take the snapshot
rsync: ACLs are not supported on this client
rsync error: syntax or usage error (code 1) at main.c(1422) [client=3.0.6]
WARNING: Command "rsync -aEAX -v --delete-excluded --chmod=Fa-w,D+w --whole-file --delete --exclude="/media/WD Passport/backup/backintime" --exclude="/home/henri/.local/share/backintime" --include="/home/henri/" --include="/home/" --include="/opt/lampp/" --include="/opt/" --exclude="*.backup*" --exclude="*~" --exclude="*.avi" --exclude="*.mkv" --include="/home/henri/**" --include="/opt/lampp/**" --exclude="*" / "/media/WD Passport/backup/backintime/backintime/new_snapshot/backup/"" returns 256
INFO: Save permissions
INFO: Remove backups older than: 20070519-000000
INFO: [smart remove] There is only one snapshots, so keep it
INFO: Keep min free disk space: 1024 Mb
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
    self.run()
  File "/usr/share/backintime/plugins/gnomeplugin.py", line 145, in run
    self.notification.close()
GError: Launch helper exited with unknown return code 1

INFO: Unlock
----------------------------------------

Do I need to give more information about my system?

Tags: rsync
Revision history for this message
Dan (danleweb) wrote :

Can you please give me your rsync version ("rsync --version").
What file system are you using: ext3 / ext4.
Are ACL supported/enabled on your file-system ?

Revision history for this message
Henri De Veene (henridv) wrote :

rsync version: 3.0.6

The source files are on ext4.
These are copied to a removable disk with NTFS.

How do I check if ACL is enabled?
If ACL has to be enabled manually, then it probably is not.

Revision history for this message
Dan (danleweb) wrote :

I installed ubuntu 9.04 and my version is 3.0.5:
rsync version 3.0.5 protocol version 30
Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, symtimes

It looks like your rsync is compiled without ACL support.
Did you compiled it yourself ? Are you using a non-supported repository ?

Revision history for this message
Henri De Veene (henridv) wrote :

Ok, I've compiled rsync with acl-support enabled now.

The program works now.

Sorry for the bugreport.

Dan (danleweb)
Changed in backintime:
assignee: nobody → Dan (dan-le-web)
status: New → Invalid
Revision history for this message
Raghu Udiyar (raags) wrote :

I get the same error :

Nov 14 00:01:41 ubuntu backintime (root): INFO: Lock
Nov 14 00:01:56 ubuntu backintime (root): INFO: Include folders: ['/bin', '/boot', '/etc', '/home', '/root', '/var', '/usr/local']
Nov 14 00:02:16 ubuntu backintime (root): INFO: Ignore folders: []
Nov 14 00:02:36 ubuntu backintime (root): INFO: Last snapshots: {}
Nov 14 00:02:56 ubuntu backintime (root): INFO: Compare with old snapshot: 20091109-160108
Nov 14 00:03:16 ubuntu backintime (root): WARNING: Command "rsync -aEAX -i --dry-run --chmod=Fa-w,D+w --whole-file --delete --exclude="/var/snapshots" --exclude="/root/.local/share/backintime" --include="/bin/" --include="/boot/" --include="/etc/" --include="/home/" --include="/root/" --include="/var/" --include="/usr/local/" --include="/usr/" --exclude="*.backup*" --exclude="*~" --exclude="/var/backup" --exclude="/var/backups" --exclude="/var/snapshots" --include="/bin/**" --include="/boot/**" --include="/etc/**" --include="/home/**" --include="/root/**" --include="/var/**" --include="/usr/local/**" --exclude="*" / "/var/snapshots/backintime/20091109-160108/backup/"" returns 256
Nov 14 00:03:36 ubuntu backintime (root): INFO: Nothing changed, no back needed
Nov 14 00:03:46 ubuntu backintime (root): WARNING: No new snapshot (not needed or error)

I am using Hardy and my rsync does have ACL support.

rsync version 2.6.9 protocol version 29
Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others.
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks,
              batchfiles, inplace, IPv6, ACLs,
              64-bit system inums, 64-bit internal inums

rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.

Changed in backintime:
status: Invalid → Incomplete
Revision history for this message
Dan (danleweb) wrote :

You need to use rsync 3 or latter. It should be available in backports repository.

Changed in backintime:
status: Incomplete → Won't Fix
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.